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/gmake | |
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/gmake')
-rw-r--r-- | devel/gmake/Makefile | 8 | ||||
-rw-r--r-- | devel/gmake/PLIST | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile index 761e55983b7..8000eb98f72 100644 --- a/devel/gmake/Makefile +++ b/devel/gmake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.69 2006/10/09 12:52:34 joerg Exp $ +# $NetBSD: Makefile,v 1.70 2008/04/12 22:42:59 jlam Exp $ DISTNAME= make-3.81 PKGNAME= g${DISTNAME} @@ -29,10 +29,10 @@ CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q} PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q} BUILD_DEFS+= GNU_PROGRAM_PREFIX +PLIST_VARS+= gmake + .if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g" -PLIST_SUBST+= GMAKE_LINK="" -.else -PLIST_SUBST+= GMAKE_LINK="@comment " +PLIST.gmake= yes .endif PLIST_SRC= ${PKGDIR}/PLIST diff --git a/devel/gmake/PLIST b/devel/gmake/PLIST index f1b5253c9b2..2622a831695 100644 --- a/devel/gmake/PLIST +++ b/devel/gmake/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.8 2006/03/30 03:44:43 jlam Exp $ +@comment $NetBSD: PLIST,v 1.9 2008/04/12 22:42:59 jlam Exp $ bin/${GNU_PROGRAM_PREFIX}make -${GMAKE_LINK}bin/gmake +${PLIST.gmake}bin/gmake info/make.info man/man1/${GNU_PROGRAM_PREFIX}make.1 |