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 /devel/rudiments | |
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 'devel/rudiments')
-rw-r--r-- | devel/rudiments/Makefile | 9 | ||||
-rw-r--r-- | devel/rudiments/PLIST | 8 |
2 files changed, 8 insertions, 9 deletions
diff --git a/devel/rudiments/Makefile b/devel/rudiments/Makefile index cbf8fecf8ac..468e1adc422 100644 --- a/devel/rudiments/Makefile +++ b/devel/rudiments/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/06/13 19:23:24 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2008/04/12 22:43:00 jlam Exp $ # DISTNAME= rudiments-0.29 @@ -15,13 +15,12 @@ USE_TOOLS+= gmake USE_LANGUAGES= c c++ USE_LIBTOOL= YES USE_PKGLOCALEDIR= YES +PLIST_VARS+= shm .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "NetBSD" -PLIST_SUBST+= COND_SHM="@comment " -.else -PLIST_SUBST+= COND_SHM="" +.if ${OPSYS} != "NetBSD" +PLIST.shm= yes .endif .include "../../mk/pthread.buildlink3.mk" diff --git a/devel/rudiments/PLIST b/devel/rudiments/PLIST index 9d2cf100329..bdc0f2adb62 100644 --- a/devel/rudiments/PLIST +++ b/devel/rudiments/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2006/06/13 19:23:24 joerg Exp $ +@comment $NetBSD: PLIST,v 1.8 2008/04/12 22:43:00 jlam Exp $ bin/rudiments-config include/rudiments/character.h include/rudiments/charstring.h @@ -143,8 +143,8 @@ include/rudiments/private/serviceentry.h include/rudiments/private/serviceentryincludes.h include/rudiments/private/sharedmemory.h include/rudiments/private/sharedmemoryincludes.h -${COND_SHM}include/rudiments/private/shmfile.h -${COND_SHM}include/rudiments/private/shmfileincludes.h +${PLIST.shm}include/rudiments/private/shmfile.h +${PLIST.shm}include/rudiments/private/shmfileincludes.h include/rudiments/private/signalclassesincludes.h include/rudiments/private/signalhandler.h include/rudiments/private/signalset.h @@ -183,7 +183,7 @@ include/rudiments/server.h include/rudiments/serversocket.h include/rudiments/serviceentry.h include/rudiments/sharedmemory.h -${COND_SHM}include/rudiments/shmfile.h +${PLIST.shm}include/rudiments/shmfile.h include/rudiments/signalclasses.h include/rudiments/snooze.h include/rudiments/stringbuffer.h |