Sun Oct 3 07:10:44 2021 UTC ()
smlnj: Disable PKGSRC_MKPIE


(nia)
diff -r1.15 -r1.16 pkgsrc/lang/smlnj/Makefile.common
diff -r1.5 -r1.6 pkgsrc/lang/smlnj11072/Makefile.common

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

--- pkgsrc/lang/smlnj/Makefile.common 2019/10/12 19:50:58 1.15
+++ pkgsrc/lang/smlnj/Makefile.common 2021/10/03 07:10:44 1.16
@@ -1,37 +1,42 @@ @@ -1,37 +1,42 @@
1# $NetBSD: Makefile.common,v 1.15 2019/10/12 19:50:58 he Exp $ 1# $NetBSD: Makefile.common,v 1.16 2021/10/03 07:10:44 nia Exp $
2# 2#
3# used by lang/smlnj/Makefile 3# used by lang/smlnj/Makefile
4 4
5# smlnj supports i386, hppa, sparc, ppc, mlrisc & alpha 5# smlnj supports i386, hppa, sparc, ppc, mlrisc & alpha
6# but this package only handles i386, ppc, and sparc. 6# but this package only handles i386, ppc, and sparc.
7# Extending this is left as an (easy) exercise for the reader. 7# Extending this is left as an (easy) exercise for the reader.
8ONLY_FOR_PLATFORM+= *-*-alpha *-*-hppa *-*-i386 \ 8ONLY_FOR_PLATFORM+= *-*-alpha *-*-hppa *-*-i386 \
9 *-*-mlrisc *-*-sparc *-*-powerpc 9 *-*-mlrisc *-*-sparc *-*-powerpc
10BROKEN_ON_PLATFORM= *-*-alpha *-*-hppa *-*-mlrisc 10BROKEN_ON_PLATFORM= *-*-alpha *-*-hppa *-*-mlrisc
11 11
12# This package also only supports netbsd, freebsd, linux, and solaris. 12# This package also only supports netbsd, freebsd, linux, and solaris.
13# Making it work on other OSes shouldn't be all that hard. 13# Making it work on other OSes shouldn't be all that hard.
14BROKEN_EXCEPT_ON_PLATFORM+= NetBSD-*-* FreeBSD-*-* Linux-*-* SunOS-*-* 14BROKEN_EXCEPT_ON_PLATFORM+= NetBSD-*-* FreeBSD-*-* Linux-*-* SunOS-*-*
15 15
16# Furthermore, some OS/machine combinations aren't handled and might 16# Furthermore, some OS/machine combinations aren't handled and might
17# need hacking to work if enabled. 17# need hacking to work if enabled.
18BROKEN_ON_PLATFORM+= FreeBSD-*-sparc FreeBSD-*-powerpc 18BROKEN_ON_PLATFORM+= FreeBSD-*-sparc FreeBSD-*-powerpc
19BROKEN_ON_PLATFORM+= Linux-*-sparc Linux-*-powerpc 19BROKEN_ON_PLATFORM+= Linux-*-sparc Linux-*-powerpc
20BROKEN_ON_PLATFORM+= SunOS-*-i386 SunOS-*-powerpc 20BROKEN_ON_PLATFORM+= SunOS-*-i386 SunOS-*-powerpc
21 21
22# there are 32-on-64 hacks for amd64 on linux and netbsd 22# there are 32-on-64 hacks for amd64 on linux and netbsd
23ONLY_FOR_PLATFORM+= Linux-*-x86_64 NetBSD-*-x86_64 23ONLY_FOR_PLATFORM+= Linux-*-x86_64 NetBSD-*-x86_64
24 24
 25# On NetBSD/i386:
 26# run.x86-netbsd: Cannot write-enable text segment: Permission denied
 27# ./config/install.sh !!! Boot code failed, no heap image (sml.x86-bsd).
 28MKPIE_SUPPORTED= no
 29
25.include "../../mk/bsd.prefs.mk" 30.include "../../mk/bsd.prefs.mk"
26 31
27# Possible values of BOX and OS must be kept in sync with the 32# Possible values of BOX and OS must be kept in sync with the
28# currently ported platforms. 33# currently ported platforms.
29 34
30.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" 35.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
31OS= bsd 36OS= bsd
32.elif ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" 37.elif ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
33OS= ${LOWER_OPSYS} 38OS= ${LOWER_OPSYS}
34.endif 39.endif
35 40
36PLIST_VARS+= nlffi # not available on all platforms 41PLIST_VARS+= nlffi # not available on all platforms
37 42

cvs diff -r1.5 -r1.6 pkgsrc/lang/smlnj11072/Makefile.common (expand / switch to unified diff)

--- pkgsrc/lang/smlnj11072/Makefile.common 2019/10/12 20:00:06 1.5
+++ pkgsrc/lang/smlnj11072/Makefile.common 2021/10/03 07:10:44 1.6
@@ -1,37 +1,42 @@ @@ -1,37 +1,42 @@
1# $NetBSD: Makefile.common,v 1.5 2019/10/12 20:00:06 he Exp $ 1# $NetBSD: Makefile.common,v 1.6 2021/10/03 07:10:44 nia Exp $
2# 2#
3# used by lang/smlnj/Makefile 3# used by lang/smlnj/Makefile
4 4
5# smlnj supports i386, hppa, sparc, ppc, mlrisc & alpha 5# smlnj supports i386, hppa, sparc, ppc, mlrisc & alpha
6# but this package only handles i386, ppc, and sparc. 6# but this package only handles i386, ppc, and sparc.
7# Extending this is left as an (easy) exercise for the reader. 7# Extending this is left as an (easy) exercise for the reader.
8ONLY_FOR_PLATFORM+= *-*-alpha *-*-hppa *-*-i386 \ 8ONLY_FOR_PLATFORM+= *-*-alpha *-*-hppa *-*-i386 \
9 *-*-mlrisc *-*-sparc *-*-powerpc 9 *-*-mlrisc *-*-sparc *-*-powerpc
10BROKEN_ON_PLATFORM= *-*-alpha *-*-hppa *-*-mlrisc 10BROKEN_ON_PLATFORM= *-*-alpha *-*-hppa *-*-mlrisc
11 11
12# This package also only supports netbsd, freebsd, linux, and solaris. 12# This package also only supports netbsd, freebsd, linux, and solaris.
13# Making it work on other OSes shouldn't be all that hard. 13# Making it work on other OSes shouldn't be all that hard.
14BROKEN_EXCEPT_ON_PLATFORM+= NetBSD-*-* FreeBSD-*-* Linux-*-* SunOS-*-* 14BROKEN_EXCEPT_ON_PLATFORM+= NetBSD-*-* FreeBSD-*-* Linux-*-* SunOS-*-*
15 15
16# Furthermore, some OS/machine combinations aren't handled and might 16# Furthermore, some OS/machine combinations aren't handled and might
17# need hacking to work if enabled. 17# need hacking to work if enabled.
18BROKEN_ON_PLATFORM+= FreeBSD-*-sparc FreeBSD-*-powerpc 18BROKEN_ON_PLATFORM+= FreeBSD-*-sparc FreeBSD-*-powerpc
19BROKEN_ON_PLATFORM+= Linux-*-sparc Linux-*-powerpc 19BROKEN_ON_PLATFORM+= Linux-*-sparc Linux-*-powerpc
20BROKEN_ON_PLATFORM+= SunOS-*-i386 SunOS-*-powerpc 20BROKEN_ON_PLATFORM+= SunOS-*-i386 SunOS-*-powerpc
21 21
22# there are 32-on-64 hacks for amd64 on linux and netbsd 22# there are 32-on-64 hacks for amd64 on linux and netbsd
23ONLY_FOR_PLATFORM+= Linux-*-x86_64 NetBSD-*-x86_64 23ONLY_FOR_PLATFORM+= Linux-*-x86_64 NetBSD-*-x86_64
24 24
 25# On NetBSD/i386:
 26# run.x86-netbsd: Cannot write-enable text segment: Permission denied
 27# ./config/install.sh !!! Boot code failed, no heap image (sml.x86-bsd).
 28MKPIE_SUPPORTED= no
 29
25.include "../../mk/bsd.prefs.mk" 30.include "../../mk/bsd.prefs.mk"
26 31
27# Possible values of BOX and OS must be kept in sync with the 32# Possible values of BOX and OS must be kept in sync with the
28# currently ported platforms. 33# currently ported platforms.
29 34
30.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" 35.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
31OS= bsd 36OS= bsd
32.elif ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" 37.elif ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
33OS= ${LOWER_OPSYS} 38OS= ${LOWER_OPSYS}
34.endif 39.endif
35 40
36PLIST_VARS+= nlffi # not available on all platforms 41PLIST_VARS+= nlffi # not available on all platforms
37 42