summaryrefslogtreecommitdiff
path: root/net/yaz
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-01-28 05:04:26 +0000
committergrant <grant@pkgsrc.org>2004-01-28 05:04:26 +0000
commit2810875195da3882aaa7e8e6990ecb62ca9fafa0 (patch)
treeef26c4e5ff1cd6c4e812e7de46a0337a159ba3f6 /net/yaz
parent452c9c64bfa067ddbea20870bdbca2a5168aaa44 (diff)
downloadpkgsrc-2810875195da3882aaa7e8e6990ecb62ca9fafa0.tar.gz
yaz installs libyazthread on systems with native threads. tweak PLIST
accordingly. bump PKGREVISION.
Diffstat (limited to 'net/yaz')
-rw-r--r--net/yaz/Makefile12
-rw-r--r--net/yaz/PLIST11
2 files changed, 19 insertions, 4 deletions
diff --git a/net/yaz/Makefile b/net/yaz/Makefile
index 25c9714cba8..55db1b45f15 100644
--- a/net/yaz/Makefile
+++ b/net/yaz/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2003/07/17 22:52:06 grant Exp $
+# $NetBSD: Makefile,v 1.4 2004/01/28 05:04:26 grant Exp $
#
DISTNAME= yaz-2.0
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://ftp.indexdata.dk/pub/yaz/
@@ -14,4 +15,13 @@ USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
GNU_CONFIGURE= YES
+PTHREAD_OPTS+= native optional
+
+.include "../../mk/pthread.buildlink2.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
+PLIST_SUBST+= YAZTHREAD="@comment "
+.else
+PLIST_SUBST+= YAZTHREAD=""
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/net/yaz/PLIST b/net/yaz/PLIST
index 4e6b7e3d9b3..3775d8d576e 100644
--- a/net/yaz/PLIST
+++ b/net/yaz/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/16 12:17:26 dmcmahill Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/01/28 05:04:26 grant Exp $
bin/yaz-client
bin/yaz-comp
bin/yaz-config
@@ -73,12 +73,17 @@ lib/libyaz.a
lib/libyaz.la
lib/libyaz.so
lib/libyaz.so.2
-lib/libyaz.so.${PKGVERSION}
+lib/libyaz.so.2.0
lib/libyazmalloc.a
lib/libyazmalloc.la
lib/libyazmalloc.so
lib/libyazmalloc.so.2
-lib/libyazmalloc.so.${PKGVERSION}
+lib/libyazmalloc.so.2.0
+${YAZTHREAD}lib/libyazthread.a
+${YAZTHREAD}lib/libyazthread.la
+${YAZTHREAD}lib/libyazthread.so
+${YAZTHREAD}lib/libyazthread.so.2
+${YAZTHREAD}lib/libyazthread.so.2.0
man/man1/yaz-client-ssl.1
man/man1/yaz-client.1
man/man1/yaz-config.1