summaryrefslogtreecommitdiff
path: root/devel/physfs/patches
diff options
context:
space:
mode:
authorwiz <wiz>2004-11-28 14:35:19 +0000
committerwiz <wiz>2004-11-28 14:35:19 +0000
commit660c205b8e55d1c3218781ac73f345fe4605c6ec (patch)
tree82a8dc57566a86a9a4326a6a488e4f947f417526 /devel/physfs/patches
parent3ff12273e2dae56b0d2d8eeac19a25d429020989 (diff)
downloadpkgsrc-660c205b8e55d1c3218781ac73f345fe4605c6ec.tar.gz
Fix linking, so that libpthread is pulled in.
Remove superfluous USE_PKGLOCALEDIR.
Diffstat (limited to 'devel/physfs/patches')
-rw-r--r--devel/physfs/patches/patch-ab25
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/physfs/patches/patch-ab b/devel/physfs/patches/patch-ab
new file mode 100644
index 00000000000..24c9489c044
--- /dev/null
+++ b/devel/physfs/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.3 2004/11/28 14:35:19 wiz Exp $
+
+--- configure.orig 2004-01-03 22:06:44.000000000 +0100
++++ configure
+@@ -9815,6 +9815,20 @@ echo $ECHO_N "checking if this is FreeBS
+ echo "${ECHO_T}$this_is_freebsd" >&6
+ fi
+
++this_is_netbsd=no
++if test x$we_have_sed = xyes; then
++ echo "$as_me:$LINENO: checking if this is NetBSD" >&5
++echo $ECHO_N "checking if this is NetBSD... $ECHO_C" >&6
++ x=`echo $target_os |tr A-Z a-z |sed "s/.*netbsd.*/netbsd/"`
++ if test x$x = xnetbsd; then
++ this_is_netbsd=yes
++ PHYSFSLDFLAGS="$PHYSFSLDFLAGS -pthread"
++ fi
++
++ echo "$as_me:$LINENO: result: $this_is_netbsd" >&5
++echo "${ECHO_T}$this_is_netbsd" >&6
++fi
++
+ this_is_openbsd=no
+ if test x$we_have_sed = xyes; then
+ echo "$as_me:$LINENO: checking if this is OpenBSD" >&5