pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/smlnj Support FreeBSD.
details: https://anonhg.NetBSD.org/pkgsrc/rev/301ef5b43340
branches: trunk
changeset: 568486:301ef5b43340
user: asau <asau%pkgsrc.org@localhost>
date: Tue Dec 15 06:35:29 2009 +0000
description:
Support FreeBSD.
diffstat:
lang/smlnj/Makefile.common | 12 ++++++------
lang/smlnj/PLIST.FreeBSD | 2 ++
2 files changed, 8 insertions(+), 6 deletions(-)
diffs (36 lines):
diff -r 051cc9f99adc -r 301ef5b43340 lang/smlnj/Makefile.common
--- a/lang/smlnj/Makefile.common Tue Dec 15 04:27:33 2009 +0000
+++ b/lang/smlnj/Makefile.common Tue Dec 15 06:35:29 2009 +0000
@@ -1,20 +1,20 @@
-# $NetBSD: Makefile.common,v 1.8 2008/04/12 22:43:02 jlam Exp $
+# $NetBSD: Makefile.common,v 1.9 2009/12/15 06:35:29 asau 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= Linux-*-i386 NetBSD-*-i386 SunOS-*-sparc \
- NetBSD-*-sparc NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-powerpc \
+ FreeBSD-*-i386 Linux-*-i386 SunOS-*-sparc
.include "../../mk/bsd.prefs.mk"
# Possible values of BOX and OS must be kept in sync with the
# currently ported platforms.
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
+OS= bsd
+.elif ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
OS= ${LOWER_OPSYS}
-.elif ${OPSYS} == "NetBSD"
-OS= bsd
.endif
PLIST_VARS+= nlffi # not available on all platforms
diff -r 051cc9f99adc -r 301ef5b43340 lang/smlnj/PLIST.FreeBSD
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/smlnj/PLIST.FreeBSD Tue Dec 15 06:35:29 2009 +0000
@@ -0,0 +1,2 @@
+lib/smlnj/bin/.run/run.${BOX}-freebsd.a
+lib/smlnj/bin/.run/run.${BOX}-freebsd.so
Home |
Main Index |
Thread Index |
Old Index