summaryrefslogtreecommitdiff
path: root/devel/m4/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/m4/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/m4/Makefile')
-rw-r--r--devel/m4/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index dcc4096eeb7..6e66c8c60da 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2008/04/11 06:08:43 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2008/04/12 22:42:59 jlam Exp $
DISTNAME= m4-1.4.11
CATEGORIES= devel
@@ -25,10 +25,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+= gm4
+
.if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g"
-PLIST_SUBST+= GM4_LINK=""
-.else
-PLIST_SUBST+= GM4_LINK="@comment "
+PLIST.gm4= yes
.endif
.if ${OPSYS} == "DragonFly"