Fri Sep 16 19:53:44 2022 UTC ()
lang/smlnj11072: remove no longer needed powerpc nlffi section.

This now caused the build to fail, and the build and install
now succeeds on NetBSD/macppc.


(he)
diff -r1.12 -r1.13 pkgsrc/lang/smlnj11072/Makefile

cvs diff -r1.12 -r1.13 pkgsrc/lang/smlnj11072/Makefile (expand / switch to context diff)
--- pkgsrc/lang/smlnj11072/Makefile 2020/01/26 17:31:32 1.12
+++ pkgsrc/lang/smlnj11072/Makefile 2022/09/16 19:53:44 1.13
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2020/01/26 17:31:32 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2022/09/16 19:53:44 he Exp $
 #
 
 DISTNAME=	boot.${BOX}-unix
@@ -98,20 +98,6 @@
 # make the necessary copy of the runtime, _after_ patching src
 post-patch:
 	cd ${WRKDIR}/src && pax -rw runtime ${WRKDIR}/base/
-
-# Turn of nlffi on powerpc (I guess it doesn't work?)
-#
-# XXX: this switch doesn't work any more as the line in question doesn't
-# exist in the current version. Someone with a PPC build machine,
-# please check it out and either change it to match the file if still
-# needed, or get rid of it.
-.if ${MACHINE_ARCH} == "powerpc"
-SUBST_CLASSES+=		nlffi
-SUBST_STAGE.nlffi=	pre-configure
-SUBST_MESSAGE.nlffi=	Turning off nlffi
-SUBST_FILES.nlffi=	config/targets
-SUBST_SED.nlffi=	-e '/^request nlffi$$/d'
-.endif # powerpc
 
 # resolve definition of SML_BASE
 SUBST_CLASSES+=		smlbase