diff options
author | jtb <jtb@pkgsrc.org> | 2003-07-01 23:10:32 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2003-07-01 23:10:32 +0000 |
commit | e1a5bec25508c9c84dbca9db293715dfdede3f10 (patch) | |
tree | 23c8d0739f15918507f6ad39ef00dc9a778b29d2 /lang/smlnj/Makefile.common | |
parent | 0faa6c6dca3b29808235fb3ed8ede0c2ade4c4ea (diff) | |
download | pkgsrc-e1a5bec25508c9c84dbca9db293715dfdede3f10.tar.gz |
Make this work on powerpc.
Diffstat (limited to 'lang/smlnj/Makefile.common')
-rw-r--r-- | lang/smlnj/Makefile.common | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/smlnj/Makefile.common b/lang/smlnj/Makefile.common index 206703db08e..a03ea1a982b 100644 --- a/lang/smlnj/Makefile.common +++ b/lang/smlnj/Makefile.common @@ -1,9 +1,9 @@ -# $NetBSD: Makefile.common,v 1.1 2003/03/21 22:55:01 wiz Exp $ +# $NetBSD: Makefile.common,v 1.2 2003/07/01 23:10:32 jtb Exp $ # smlnj also supports hppa, sparc, ppc, mlrisc & alpha # pkg support for those platforms, and say, solaris-x86 # is left as an (easy) exercise for the reader. -ONLY_FOR_PLATFORM= NetBSD-*-i386 SunOS-*-sparc NetBSD-*-sparc +ONLY_FOR_PLATFORM= NetBSD-*-i386 SunOS-*-sparc NetBSD-*-sparc NetBSD-*-powerpc .include "../../mk/bsd.prefs.mk" @@ -16,10 +16,15 @@ OS= ${LOWER_OPSYS} OS= bsd .endif +NLFFI= # not available on all platforms + .if ${MACHINE_ARCH} == "i386" BOX= x86 +.elif ${MACHINE_ARCH} == "powerpc" +BOX= ppc +NLFFI= "@comment " .elif ${MACHINE_ARCH} == "sparc" BOX= ${MACHINE_ARCH} .endif -PLIST_SUBST+= BOX=${BOX} OS=${OS} +PLIST_SUBST+= BOX=${BOX} OS=${OS} NLFFI=${NLFFI} |