pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/physfs Fix linking, so that libpthread is pulled...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c34f6c9761bd
branches:  trunk
changeset: 484598:c34f6c9761bd
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Nov 28 14:35:19 2004 +0000

description:
Fix linking, so that libpthread is pulled in.
Remove superfluous USE_PKGLOCALEDIR.

diffstat:

 devel/physfs/Makefile         |   6 +++---
 devel/physfs/distinfo         |   3 ++-
 devel/physfs/patches/patch-ab |  25 +++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 4 deletions(-)

diffs (66 lines):

diff -r 61e64cffe18b -r c34f6c9761bd devel/physfs/Makefile
--- a/devel/physfs/Makefile     Sun Nov 28 14:34:28 2004 +0000
+++ b/devel/physfs/Makefile     Sun Nov 28 14:35:19 2004 +0000
@@ -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 @@
 
 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 -r 61e64cffe18b -r c34f6c9761bd devel/physfs/distinfo
--- a/devel/physfs/distinfo     Sun Nov 28 14:34:28 2004 +0000
+++ b/devel/physfs/distinfo     Sun Nov 28 14:35:19 2004 +0000
@@ -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 -r 61e64cffe18b -r c34f6c9761bd devel/physfs/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/physfs/patches/patch-ab     Sun Nov 28 14:35:19 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index