summaryrefslogtreecommitdiff
path: root/lang/sml-nj/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-20 09:43:21 +0000
committerwiz <wiz@pkgsrc.org>2001-03-20 09:43:21 +0000
commitc462e45001a8540873566519c429723943752f87 (patch)
treef5cc16434b722ba295d333ceb7819567b584178d /lang/sml-nj/Makefile
parent24f23ea8bef1239efe28b7401a4dabd08d93a623 (diff)
downloadpkgsrc-c462e45001a8540873566519c429723943752f87.tar.gz
Add NetBSD-sparc support, supplied by Stephan Thesing in pkg/12411.
Diffstat (limited to 'lang/sml-nj/Makefile')
-rw-r--r--lang/sml-nj/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/sml-nj/Makefile b/lang/sml-nj/Makefile
index 8c0f041c232..725c268f225 100644
--- a/lang/sml-nj/Makefile
+++ b/lang/sml-nj/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/02/25 04:17:56 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2001/03/20 09:43:21 wiz Exp $
# FreeBSD Id: ports/lang/sml-nj/Makefile,v 1.9 1999/08/25 06:35:27 obrien Exp
DISTNAME= ${SML_VERSION}-bin.${BOX}-unix
@@ -23,7 +23,7 @@ SML_VERSION= 110.9.1
# sml-nj 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
+ONLY_FOR_PLATFORM= NetBSD-*-i386 SunOS-*-sparc NetBSD-*-sparc
# Other mirror sites that generally carry only released versions of SML
# ftp://rodin.stanford.edu/pub/smlnj/release/
@@ -51,6 +51,9 @@ OS= ${LOWER_OPSYS}
.elif ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386"
BOX= x86
OS= bsd
+.elif ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc"
+BOX= sparc
+OS= bsd
.endif
PLIST_SUBST+= BOX=${BOX} OS=${OS}