1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Be more accurate with gcc compilator flags -shared and -export-dynamic.

Bump PORTREVISION.

Approved by:	maintainer (marck)
Tested by:	Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
This commit is contained in:
Sergey A. Osokin 2012-02-15 16:40:27 +00:00
parent 8be01412f4
commit 32853a3ce5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291465
4 changed files with 26 additions and 19 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= oops
PORTVERSION= ${OOPSVERSION}
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= www
MASTER_SITES= http://oops-cache.org/ \
ftp://kucha.ru/pub/misc/oops/
@ -33,6 +33,11 @@ CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
CFLAGS+= -fPIC
CXXFLAGS+= -fPIC
.if ${CC} == "clang" || ${CXX} == "clang++"
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-configure.in \
${PATCHDIR}/extra-patch-src_modules_Makefile.in
.endif
USERS= oops
GROUPS= nobody

View File

@ -0,0 +1,20 @@
--- configure.in.orig 2012-02-15 20:36:22.000000000 +0400
+++ configure.in 2012-02-15 20:37:23.000000000 +0400
@@ -316,7 +316,6 @@
;;
freebsd*) CFLAGS="$CFLAGS -D_REENTRANT -DFREEBSD -D_THREAD_SAFE -DFD_SETSIZE=2048 -I."
- CXXSOFLAGS="-shared"
LIBS="$LEXLIB $LIBS"
if test "$large_files" = "yes" ; then
## FreeBSD need no any special flags for 64bit files
@@ -696,8 +695,7 @@
res=`./confmain`
fi
if test "$res" = "yes"; then
- CFLAGS="$CFLAGS -export-dynamic"
- AC_MSG_RESULT(yes)
+ AC_MSG_RESULT(no)
else
AC_MSG_RESULT(no)
fi

View File

@ -1,13 +1,5 @@
--- configure.in.orig 2004-11-23 08:20:04.000000000 +0300
+++ configure.in 2012-02-02 20:33:20.000000000 +0400
@@ -316,7 +316,6 @@
;;
freebsd*) CFLAGS="$CFLAGS -D_REENTRANT -DFREEBSD -D_THREAD_SAFE -DFD_SETSIZE=2048 -I."
- CXXSOFLAGS="-shared"
LIBS="$LEXLIB $LIBS"
if test "$large_files" = "yes" ; then
## FreeBSD need no any special flags for 64bit files
@@ -328,14 +327,17 @@
rel=`uname -r`
case "$rel" in
@ -47,13 +39,3 @@
fi
if test "X$PGSQL_PATH" != "X" ; then
@@ -696,8 +698,7 @@
res=`./confmain`
fi
if test "$res" = "yes"; then
- CFLAGS="$CFLAGS -export-dynamic"
- AC_MSG_RESULT(yes)
+ AC_MSG_RESULT(no)
else
AC_MSG_RESULT(no)
fi