diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-01-11 10:08:38 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-01-11 10:08:38 +0000 |
commit | 8244fe99bcdbad7a2d0b22d66183394f5ffacd03 (patch) | |
tree | c9a458d29164af55be5bf3330f3f659428ac04ac /lang/smlnj | |
parent | 365eb51f267a3ad97ff0d4953b9991547b5b8c45 (diff) |
Notes
Diffstat (limited to 'lang/smlnj')
-rw-r--r-- | lang/smlnj/Makefile | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/lang/smlnj/Makefile b/lang/smlnj/Makefile index ddf0b7ada9a8..9e90a2f5675a 100644 --- a/lang/smlnj/Makefile +++ b/lang/smlnj/Makefile @@ -18,6 +18,8 @@ LICENSE_TEXT= The text of the license can be obtained from the following URL:\ http://www.smlnj.org/license.html LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +ONLY_FOR_ARCHS= i386 amd64 + NO_WRKSUBDIR= yes SUB_FILES= pkg-install @@ -41,21 +43,6 @@ POSITION64_DESC= use 64bit file${CALM} positions - implies RECOMPILE ML_RECOMPILE_OPTIONS= RECOMPILE POSITION64 .endif -.if (${ARCH} == "amd64") && (${OSVERSION} >= 1000029) -ONLY_FOR_ARCHS= i386 amd64 -.elif (${ARCH} == "amd64") -ONLY_FOR_ARCHS= i386 amd64 -# Compilation of the i386 runtime source on older amd64 systems requires -# i386 system headers from the respective FreeBSD Version, taken from -# stable/N/sys/i386/include, r196045 (N=8) and r225736 (N=9). -EXTRA_DEFS+= -DINCLUDE_FREEBSD_I386_SIGNAL=\\\"freebsd-8-i386-signal.h\\\" -EXTRA_DEFS+= -DINCLUDE_FREEBSD_I386_IEEEFP=\\\"freebsd-8-i386-ieeefp.h\\\" -EXTRA_DEFS+= -DINCLUDE_FREEBSD_I386__TYPES=\\\"freebsd-9-i386-_types.h\\\" -EXTRA_DEFS+= -DINCLUDE_FREEBSD_I386_ENDIAN=\\\"freebsd-9-i386-endian.h\\\" -.else -ONLY_FOR_ARCHS= i386 -.endif - .if (${ARCH} == "amd64") CFLAGS+= -m32 AS?= as |