summaryrefslogtreecommitdiff
path: root/lang/smlnj/Makefile
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2019-10-12 20:52:53 +0000
committerhe <he@pkgsrc.org>2019-10-12 20:52:53 +0000
commit4c03b317c0a790a79dd7178a1868b518e7832d71 (patch)
tree1ea3cd9c7b7bdf2b27a899609c384148d4318d08 /lang/smlnj/Makefile
parentd4d1d44f9e963d4ad6ab277709c176348c1ca409 (diff)
downloadpkgsrc-4c03b317c0a790a79dd7178a1868b518e7832d71.tar.gz
Various updates to smlnj so it builds on NetBSD/powerpc again:
* Modernize the powerpc entry in signal-sysdep.h to use the various _UC_MACHINE_ macros. * mk.ppc-netbsd: don't pass an empty RANLIB variable, causing build failure. Also make checksums of all the three arch-specific distfiles ("boxes"), for sparc, x86 and ppc. Bump PKGREVISION.
Diffstat (limited to 'lang/smlnj/Makefile')
-rw-r--r--lang/smlnj/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/lang/smlnj/Makefile b/lang/smlnj/Makefile
index 67d5a533871..41823a4b393 100644
--- a/lang/smlnj/Makefile
+++ b/lang/smlnj/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2016/07/03 19:38:27 dholland Exp $
+# $NetBSD: Makefile,v 1.35 2019/10/12 20:52:53 he Exp $
#
DISTNAME= boot.${BOX}-unix
@@ -31,7 +31,7 @@ HOMEPAGE= http://www.smlnj.org/index.html
COMMENT= Popular functional language from Bell Labs
SML_VERSION= 110.73
-PKGREVISION= 2
+PKGREVISION= 3
WRKSRC= ${WRKDIR}
DIST_SUBDIR= smlnj-${SML_VERSION}
@@ -57,6 +57,14 @@ BUILD_ENV+= PATCH=${PATCH:Q} PATCH_ARGS=${PATCH_ARGS:Q}
# note that this includes bsd.prefs.mk
.include "../../lang/smlnj/Makefile.common"
+BOXES= x86 ppc sparc
+
+.if make(distinfo) || make(makesum) || make(mdi)
+.for B in ${BOXES}
+DISTFILES+= boot.${B}-unix.tgz
+.endfor
+.endif
+
#
# For smlnj reasons the runtime system needs to be unpacked twice, once
# in work/src and once in work/base.