diff options
Diffstat (limited to 'devel/nspr/files/patch-..::configure')
| -rw-r--r-- | devel/nspr/files/patch-..::configure | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/devel/nspr/files/patch-..::configure b/devel/nspr/files/patch-..::configure index 0698262753b5..8d5d0ffebde9 100644 --- a/devel/nspr/files/patch-..::configure +++ b/devel/nspr/files/patch-..::configure @@ -1,11 +1,29 @@ --- ../configure.orig 2012-02-14 20:06:00.000000000 +0100 +++ ../configure 2012-02-17 17:14:27.862323726 +0100 -@@ -4062,7 +4062,7 @@ +@@ -4035,11 +4035,8 @@ EOF + EOF + CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall" - MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` - if test "$MOZ_OBJFORMAT" = "elf"; then +- MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` +- if test "$MOZ_OBJFORMAT" = "elf"; then - DLL_SUFFIX=so +- else +- DLL_SUFFIX=so.1.0 ++ if test -z "$MOZILLA_CLIENT"; then + DLL_SUFFIX=so.1 - else - DLL_SUFFIX=so.1.0 fi + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' + DSO_CFLAGS=-fPIC +@@ -6271,11 +6271,6 @@ + #define _THREAD_SAFE 1 + EOF + +- if test "$ac_cv_have_dash_pthread" = "yes"; then +- _PTHREAD_LDFLAGS="-pthread" +- else +- _PTHREAD_LDFLAGS="-lc_r" +- fi + ;; + *-netbsd*) + if test "$ac_cv_have_dash_pthread" = "yes"; then + |
