diff options
author | dholland <dholland@pkgsrc.org> | 2015-01-04 08:57:36 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2015-01-04 08:57:36 +0000 |
commit | ae66b60b6597547570e34c2ecd05f5b7e35e20dd (patch) | |
tree | ecb8e8cb447312e6dc91d51bd7c0380a58f66c0a /lang/smlnj | |
parent | 9d4570795e3fdf323d9bc62c6ecd48a360c29c00 (diff) | |
download | pkgsrc-ae66b60b6597547570e34c2ecd05f5b7e35e20dd.tar.gz |
Use ONLY_FOR_PLATFORM only to indicate what the compiler knows how to
target. For stuff the packaging doesn't handle, use BROKEN.
Diffstat (limited to 'lang/smlnj')
-rw-r--r-- | lang/smlnj/Makefile.common | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/lang/smlnj/Makefile.common b/lang/smlnj/Makefile.common index 00c9cdf94a9..7cb266e1114 100644 --- a/lang/smlnj/Makefile.common +++ b/lang/smlnj/Makefile.common @@ -1,13 +1,24 @@ -# $NetBSD: Makefile.common,v 1.10 2014/10/05 16:41:07 wiz Exp $ +# $NetBSD: Makefile.common,v 1.11 2015/01/04 08:57:36 dholland Exp $ # # used by lang/smlnj/Makefile # used by lang/twelf/Makefile -# 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= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-powerpc \ - FreeBSD-*-i386 Linux-*-i386 SunOS-*-sparc +# smlnj supports i386, hppa, sparc, ppc, mlrisc & alpha +# but this package only handles i386, ppc, and sparc. +# Extending this is left as an (easy) exercise for the reader. +ONLY_FOR_PLATFORM+= *-*-alpha *-*-hppa *-*-i386 + *-*-mlrisc *-*-sparc *-*-powerpc +BROKEN_ON_PLATFORM= *-*-alpha *-*-hppa *-*-mlrisc + +# This package also only supports netbsd, freebsd, linux, and solaris. +# Making it work on other OSes shouldn't be all that hard. +BROKEN_EXCEPT_ON_PLATFORM+= NetBSD-*-* FreeBSD-*-* Linux-*-* SunOS-*-* + +# Furthermore, some OS/machine combinations aren't handled and might +# need hacking to work if enabled. +BROKEN_ON_PLATFORM+= FreeBSD-*-sparc FreeBSD-*-powerpc +BROKEN_ON_PLATFORM+= Linux-*-sparc Linux-*-powerpc +BROKEN_ON_PLATFORM+= SunOS-*-i386 SunOS-*-powerpc .include "../../mk/bsd.prefs.mk" |