summaryrefslogtreecommitdiff
path: root/devel/netbsd-iscsi
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-03 00:46:43 +0000
committerjoerg <joerg>2006-06-03 00:46:43 +0000
commit94e979b3d4c0895bff8cb963420777b7736181d4 (patch)
treeed3c27f2e1b0a55629a7cb850133a07fad69fbfb /devel/netbsd-iscsi
parent476c69fd559be740bd9d2166be525c7e29689d24 (diff)
downloadpkgsrc-94e979b3d4c0895bff8cb963420777b7736181d4.tar.gz
Use PTHREAD_* from pkgsrc, not the hardcoded values in the package.
Diffstat (limited to 'devel/netbsd-iscsi')
-rw-r--r--devel/netbsd-iscsi/distinfo3
-rw-r--r--devel/netbsd-iscsi/patches/patch-aa17
2 files changed, 19 insertions, 1 deletions
diff --git a/devel/netbsd-iscsi/distinfo b/devel/netbsd-iscsi/distinfo
index 60456618506..8dd6f36fef3 100644
--- a/devel/netbsd-iscsi/distinfo
+++ b/devel/netbsd-iscsi/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.12 2006/05/27 21:32:30 agc Exp $
+$NetBSD: distinfo,v 1.13 2006/06/03 00:46:43 joerg Exp $
SHA1 (netbsd-iscsi-20060527.tar.gz) = 8d560437f4c90dc3bd44e66d804fe7871ead4d75
RMD160 (netbsd-iscsi-20060527.tar.gz) = 7119939e22bb26857267675535c3cc9c14bef7e1
Size (netbsd-iscsi-20060527.tar.gz) = 237784 bytes
+SHA1 (patch-aa) = 497ecee57e2d1c9ceb4921fa8a1e4fae20eeeef3
diff --git a/devel/netbsd-iscsi/patches/patch-aa b/devel/netbsd-iscsi/patches/patch-aa
new file mode 100644
index 00000000000..8072e1be011
--- /dev/null
+++ b/devel/netbsd-iscsi/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2006/06/03 00:46:43 joerg Exp $
+
+--- Makefile.in.orig 2006-06-03 00:39:22.000000000 +0000
++++ Makefile.in
+@@ -16,9 +16,9 @@ MANDIR=$(prefix)/man
+ SYSCONFDIR=@sysconfdir@
+
+ CC= @CC@
+-PTHREAD_FLAGS= -pthread
+-PTHREAD_LDFLAGS= -pthread
+-PTHREAD_LIBS= -lpthread
++PTHREAD_FLAGS?= -pthread
++PTHREAD_LDFLAGS?= -pthread
++PTHREAD_LIBS?= -lpthread
+ GCC_CFLAGS= -Wall -Wstrict-prototypes -fno-strict-aliasing -fno-common -Wno-trigraphs
+ COMMON_CFLAGS += -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
+ CFLAGS= @CFLAGS@ ${GCC_CFLAGS} ${COMMON_CFLAGS} -I${INCLUDE} ${PTHREAD_FLAGS}