diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 84db467ec7c8386066718011f8d47775d5608811 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /lang/cint | |
parent | 7082f8c2044621c8641f3c82a2da95c2d442048c (diff) | |
download | pkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'lang/cint')
-rw-r--r-- | lang/cint/Makefile | 9 | ||||
-rw-r--r-- | lang/cint/PLIST | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/lang/cint/Makefile b/lang/cint/Makefile index 1f1efda0bdb..8503a852c7f 100644 --- a/lang/cint/Makefile +++ b/lang/cint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2008/03/04 16:38:11 jlam Exp $ +# $NetBSD: Makefile,v 1.25 2008/04/12 22:43:02 jlam Exp $ DISTNAME= cint5.15 PKGNAME= cint-5.15.174 @@ -17,12 +17,11 @@ PKG_DESTDIR_SUPPORT= user-destdir DIST_SUBDIR= ${PKGNAME_NOREV} WRKSRC= ${WRKDIR} GCC_REQD+= 3.0 -PTHREAD_OPTS+= native +PTHREAD_OPTS+= native +PLIST_VARS+= threads .include "../../mk/pthread.buildlink3.mk" .if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native" -PLIST_SUBST+= HAVE_THR="" -.else -PLIST_SUBST+= HAVE_THR="@comment " +PLIST.threads= yes .endif INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man2 diff --git a/lang/cint/PLIST b/lang/cint/PLIST index 7c4031322c6..e5c9ccbbb76 100644 --- a/lang/cint/PLIST +++ b/lang/cint/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2006/05/26 12:30:15 drochner Exp $ +@comment $NetBSD: PLIST,v 1.5 2008/04/12 22:43:02 jlam Exp $ bin/cint bin/makecint cint/G__ci.h @@ -110,7 +110,7 @@ cint/include/new cint/include/new.h cint/include/ostream cint/include/platform.h -${HAVE_THR}cint/include/pthread.dll +${PLIST.threads}cint/include/pthread.dll cint/include/pthread.h cint/include/readfile.h cint/include/regex.h |