summaryrefslogtreecommitdiff
path: root/lang/smlnj/Makefile.common
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 /lang/smlnj/Makefile.common
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 'lang/smlnj/Makefile.common')
-rw-r--r--lang/smlnj/Makefile.common8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/smlnj/Makefile.common b/lang/smlnj/Makefile.common
index d48c0fe1567..a090c3b30d5 100644
--- a/lang/smlnj/Makefile.common
+++ b/lang/smlnj/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2006/10/19 19:47:34 wiz Exp $
+# $NetBSD: Makefile.common,v 1.8 2008/04/12 22:43:02 jlam Exp $
# smlnj also supports hppa, sparc, ppc, mlrisc & alpha
# pkg support for those platforms, and say, solaris-x86
@@ -17,19 +17,21 @@ OS= ${LOWER_OPSYS}
OS= bsd
.endif
-NLFFI= # not available on all platforms
+PLIST_VARS+= nlffi # not available on all platforms
.if ${MACHINE_ARCH} == "i386"
BOX= x86
+PLIST.nlffi= yes
.elif ${MACHINE_ARCH} == "powerpc"
BOX= ppc
-NLFFI= "@comment "
.elif ${MACHINE_ARCH} == "sparc"
BOX= ${MACHINE_ARCH}
+PLIST.nlffi= yes
.else
# for "make fetch", default to i386 instead of trying to download
# a non-existing file
BOX= x86
+PLIST.nlffi= yes
.endif
PLIST_SUBST+= BOX=${BOX:Q} OS=${OS:Q} NLFFI=${NLFFI}