Tue Dec 15 06:35:30 2009 UTC ()
Support FreeBSD.


(asau)
diff -r1.8 -r1.9 pkgsrc/lang/smlnj/Makefile.common
diff -r0 -r1.1 pkgsrc/lang/smlnj/PLIST.FreeBSD

cvs diff -r1.8 -r1.9 pkgsrc/lang/smlnj/Makefile.common (expand / switch to unified diff)

--- pkgsrc/lang/smlnj/Makefile.common 2008/04/12 22:43:02 1.8
+++ pkgsrc/lang/smlnj/Makefile.common 2009/12/15 06:35:29 1.9
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1# $NetBSD: Makefile.common,v 1.8 2008/04/12 22:43:02 jlam Exp $ 1# $NetBSD: Makefile.common,v 1.9 2009/12/15 06:35:29 asau Exp $
2 2
3# smlnj also supports hppa, sparc, ppc, mlrisc & alpha 3# smlnj also supports hppa, sparc, ppc, mlrisc & alpha
4# pkg support for those platforms, and say, solaris-x86 4# pkg support for those platforms, and say, solaris-x86
5# is left as an (easy) exercise for the reader. 5# is left as an (easy) exercise for the reader.
6ONLY_FOR_PLATFORM= Linux-*-i386 NetBSD-*-i386 SunOS-*-sparc \ 6ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-powerpc \
7 NetBSD-*-sparc NetBSD-*-powerpc 7 FreeBSD-*-i386 Linux-*-i386 SunOS-*-sparc
8 8
9.include "../../mk/bsd.prefs.mk" 9.include "../../mk/bsd.prefs.mk"
10 10
11# Possible values of BOX and OS must be kept in sync with the 11# Possible values of BOX and OS must be kept in sync with the
12# currently ported platforms. 12# currently ported platforms.
13 13
14.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" 14.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
15OS= ${LOWER_OPSYS} 
16.elif ${OPSYS} == "NetBSD" 
17OS= bsd 15OS= bsd
 16.elif ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
 17OS= ${LOWER_OPSYS}
18.endif 18.endif
19 19
20PLIST_VARS+= nlffi # not available on all platforms 20PLIST_VARS+= nlffi # not available on all platforms
21 21
22.if ${MACHINE_ARCH} == "i386" 22.if ${MACHINE_ARCH} == "i386"
23BOX= x86 23BOX= x86
24PLIST.nlffi= yes 24PLIST.nlffi= yes
25.elif ${MACHINE_ARCH} == "powerpc" 25.elif ${MACHINE_ARCH} == "powerpc"
26BOX= ppc 26BOX= ppc
27.elif ${MACHINE_ARCH} == "sparc" 27.elif ${MACHINE_ARCH} == "sparc"
28BOX= ${MACHINE_ARCH} 28BOX= ${MACHINE_ARCH}
29PLIST.nlffi= yes 29PLIST.nlffi= yes
30.else 30.else

File Added: pkgsrc/lang/smlnj/PLIST.FreeBSD
lib/smlnj/bin/.run/run.${BOX}-freebsd.a
lib/smlnj/bin/.run/run.${BOX}-freebsd.so