diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 84db467ec7c8386066718011f8d47775d5608811 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /lang/smlnj/Makefile.common | |
parent | 7082f8c2044621c8641f3c82a2da95c2d442048c (diff) | |
download | pkgsrc-84db467ec7c8386066718011f8d47775d5608811.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.common | 8 |
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} |