summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-11-28 14:35:19 +0000
committerwiz <wiz@pkgsrc.org>2004-11-28 14:35:19 +0000
commit7d63ebf1493a88e913e9adc27cf82c2e12690ee7 (patch)
tree82a8dc57566a86a9a4326a6a488e4f947f417526
parent71d1a5e48ce34fefc9ed0e529a7c76fcbad144b0 (diff)
downloadpkgsrc-7d63ebf1493a88e913e9adc27cf82c2e12690ee7.tar.gz
Fix linking, so that libpthread is pulled in.
Remove superfluous USE_PKGLOCALEDIR.
-rw-r--r--devel/physfs/Makefile6
-rw-r--r--devel/physfs/distinfo3
-rw-r--r--devel/physfs/patches/patch-ab25
3 files changed, 30 insertions, 4 deletions
diff --git a/devel/physfs/Makefile b/devel/physfs/Makefile
index 48f5ed80a4a..cf84c678815 100644
--- a/devel/physfs/Makefile
+++ b/devel/physfs/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2004/11/22 21:14:10 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2004/11/28 14:35:19 wiz Exp $
#
DISTNAME= physfs-1.0.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.icculus.org/physfs/downloads/
@@ -12,9 +12,9 @@ COMMENT= Library providing abstract access to various archives
USE_BUILDLINK3= yes
USE_LIBTOOL= yes
-USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
+CONFIGURE_ARGS+= --enable-pthreads
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
diff --git a/devel/physfs/distinfo b/devel/physfs/distinfo
index f4b9b72c07e..df519726350 100644
--- a/devel/physfs/distinfo
+++ b/devel/physfs/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2004/09/21 00:30:59 wiz Exp $
+$NetBSD: distinfo,v 1.5 2004/11/28 14:35:19 wiz Exp $
SHA1 (physfs-1.0.0.tar.gz) = 4ad9b9cf56b98547c21a894f718d17bce26a52fa
Size (physfs-1.0.0.tar.gz) = 511883 bytes
SHA1 (patch-aa) = 932316336724e86530df2212505b616d6c49c781
+SHA1 (patch-ab) = 3f6b3fc14595b20ac6e564dfd19323c036559dda
SHA1 (patch-ac) = 499c7e7780dacee4bf55df608bd90994079e5f12
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