diff options
author | grant <grant@pkgsrc.org> | 2004-01-28 05:04:26 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-28 05:04:26 +0000 |
commit | 2810875195da3882aaa7e8e6990ecb62ca9fafa0 (patch) | |
tree | ef26c4e5ff1cd6c4e812e7de46a0337a159ba3f6 /net/yaz/Makefile | |
parent | 452c9c64bfa067ddbea20870bdbca2a5168aaa44 (diff) | |
download | pkgsrc-2810875195da3882aaa7e8e6990ecb62ca9fafa0.tar.gz |
yaz installs libyazthread on systems with native threads. tweak PLIST
accordingly.
bump PKGREVISION.
Diffstat (limited to 'net/yaz/Makefile')
-rw-r--r-- | net/yaz/Makefile | 12 |
1 files changed, 11 insertions, 1 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" |