summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-04-27 09:50:00 +0000
committergrant <grant@pkgsrc.org>2003-04-27 09:50:00 +0000
commitc45e361da710581a8d9014eb5d7bf0b7bb95586b (patch)
treeb9119d6a09e64b67f9075ffa380b62090f29e7c8 /www
parent06b520598c9ec5812f233215bc88e509d17beda7 (diff)
downloadpkgsrc-c45e361da710581a8d9014eb5d7bf0b7bb95586b.tar.gz
missed in last
Diffstat (limited to 'www')
-rw-r--r--www/phoenix/patches/patch-bo30
1 files changed, 30 insertions, 0 deletions
diff --git a/www/phoenix/patches/patch-bo b/www/phoenix/patches/patch-bo
new file mode 100644
index 00000000000..92080824b20
--- /dev/null
+++ b/www/phoenix/patches/patch-bo
@@ -0,0 +1,30 @@
+$NetBSD: patch-bo,v 1.1 2003/04/27 09:50:00 grant Exp $
+
+--- nsprpub/configure.in.orig 20 Jan 2003 20:49:52 -0000
++++ nsprpub/configure.in 15 Apr 2003 14:51:35 -0000
+@@ -929,6 +929,9 @@
+ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
+ MDCPUCFG_H=_freebsd.cfg
+ PR_MD_CSRCS=freebsd.c
++ if test "$LIBRUNPATH"; then
++ DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH"
++ fi
+ ;;
+
+ *-hpux*)
+@@ -2144,7 +2147,14 @@
+ _PTHREAD_LDFLAGS="-lc_r"
+ fi
+ ;;
+- *-openbsd*|*-bsdi*|*-netbsd*)
++ *-netbsd*)
++ AC_DEFINE(_REENTRANT)
++ AC_DEFINE(_THREAD_SAFE)
++ if test "$ac_cv_have_dash_pthread" = "yes"; then
++ _PTHREAD_LDFLAGS="-pthread"
++ fi
++ ;;
++ *-openbsd*|*-bsdi*)
+ AC_DEFINE(_THREAD_SAFE)
+ dnl -pthread links in -lc_r, so don't specify it explicitly.
+ if test "$ac_cv_have_dash_pthread" = "yes"; then