summaryrefslogtreecommitdiff
path: root/devel/gmake/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /devel/gmake/Makefile
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-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/Makefile')
-rw-r--r--devel/gmake/Makefile8
1 files changed, 4 insertions, 4 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