diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /devel/rudiments | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.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 |