summaryrefslogtreecommitdiff
path: root/devel/nspr/files/patch-..::configure
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-08-08 19:05:53 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-08-08 19:05:53 +0000
commit307649d63393262f557ecae026efc5820b5c9ec4 (patch)
tree94458bdaf7d6f05439fce20c276b42c483927ecc /devel/nspr/files/patch-..::configure
parentUpdate to 3.4.2. (diff)
Update to 4.2.
Notes
Notes: svn path=/head/; revision=64249
Diffstat (limited to 'devel/nspr/files/patch-..::configure')
-rw-r--r--devel/nspr/files/patch-..::configure34
1 files changed, 8 insertions, 26 deletions
diff --git a/devel/nspr/files/patch-..::configure b/devel/nspr/files/patch-..::configure
index 1ba08707ebdd..b69e24479e5e 100644
--- a/devel/nspr/files/patch-..::configure
+++ b/devel/nspr/files/patch-..::configure
@@ -1,14 +1,14 @@
$FreeBSD$
---- ../configure.orig Sat Jul 8 14:25:25 2000
-+++ ../configure Tue Dec 18 11:54:54 2001
-@@ -2547,15 +2547,16 @@
+--- ../configure.orig Sat Mar 30 17:35:05 2002
++++ ../configure Thu Aug 8 19:35:46 2002
+@@ -3290,16 +3290,17 @@
#define HAVE_BSD_FLOCK 1
EOF
-- CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall -pipe"
-+ CFLAGS="$CFLAGS $DSO_CFLAGS -ansi -Wall -pipe -DXP_UNIX"
+- CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
++ CFLAFS="$CFLAGS $DSO_CFLAGS -ansi -Wall -pipe -DXP_UNIX"
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
if test "$MOZ_OBJFORMAT" = "elf"; then
- DLL_SUFFIX=so
@@ -16,28 +16,10 @@ $FreeBSD$
else
DLL_SUFFIX=so.1.0
fi
-+ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
+ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
DSO_CFLAGS=-fPIC
-- DSO_LDOPTS=-Bshareable
-+ DSO_LDOPTS="-shared $BSD_PTHREAD_LIBS"
+ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
++ DSO_LDOPTS="$DSO_LDOPTS $BSD_PTHREAD_LIBS"
MDCPUCFG_H=_freebsd.cfg
PR_MD_CSRCS=freebsd.c
;;
-@@ -3516,8 +3517,6 @@
- if test $? -eq 0; then
- if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
- ac_cv_have_dash_pthread=yes
-- CFLAGS="$CFLAGS -pthread"
-- CXXFLAGS="$CXXFLAGS -pthread"
- fi
- fi
- rm -f conftest*
-@@ -3542,7 +3541,7 @@
- EOF
-
- if test "$ac_cv_have_dash_pthread" = "yes"; then
-- PTHREAD_LDFLAGS=
-+ PTHREAD_LDFLAGS="-pthread"
- fi
- ;;
- *-hpuxB.10.10*)