pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/yaz yaz installs libyazthread on systems with nati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/487e329c3d39
branches:  trunk
changeset: 467260:487e329c3d39
user:      grant <grant%pkgsrc.org@localhost>
date:      Wed Jan 28 05:04:26 2004 +0000

description:
yaz installs libyazthread on systems with native threads. tweak PLIST
accordingly.

bump PKGREVISION.

diffstat:

 net/yaz/Makefile |  12 +++++++++++-
 net/yaz/PLIST    |  11 ++++++++---
 2 files changed, 19 insertions(+), 4 deletions(-)

diffs (56 lines):

diff -r d22bfb8ac06e -r 487e329c3d39 net/yaz/Makefile
--- a/net/yaz/Makefile  Wed Jan 28 03:57:54 2004 +0000
+++ b/net/yaz/Makefile  Wed Jan 28 05:04:26 2004 +0000
@@ -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 @@
 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 -r d22bfb8ac06e -r 487e329c3d39 net/yaz/PLIST
--- a/net/yaz/PLIST     Wed Jan 28 03:57:54 2004 +0000
+++ b/net/yaz/PLIST     Wed Jan 28 05:04:26 2004 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index