svn commit: r518462 - in head/lang: racket racket-minimal
Jimmy Olgeni
olgeni at FreeBSD.org
Tue Nov 26 11:21:24 UTC 2019
Author: olgeni
Date: Tue Nov 26 11:21:23 2019
New Revision: 518462
URL: https://svnweb.freebsd.org/changeset/ports/518462
Log:
lang/racket and lang/racket-minimal: make FUTURES depend on JIT.
Set CFLAGS only for amd64 with JIT enabled, so as to unbreak i386
(poudriere confirms.)
PR: 237528
Submitted by: m.ne at gmx.net
Modified:
head/lang/racket-minimal/Makefile
head/lang/racket/Makefile
Modified: head/lang/racket-minimal/Makefile
==============================================================================
--- head/lang/racket-minimal/Makefile Tue Nov 26 11:11:36 2019 (r518461)
+++ head/lang/racket-minimal/Makefile Tue Nov 26 11:21:23 2019 (r518462)
@@ -24,7 +24,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_armv6= fails to compile: ./lightning/lightning.h:81:2: error: GNU lightning does not support the current target
BROKEN_armv7= fails to compile: ./lightning/lightning.h:81:2: error: GNU lightning does not support the current target
-BROKEN_i386= fails to build: Seg fault (internal error) at 0x606060a
BROKEN_powerpc64= fails to build: jit.c: 'JIT_LOCAL4' undeclared (first use in this function)
NOT_FOR_ARCHS= aarch64 mips mips64 sparc64
NOT_FOR_ARCHS_REASON= not yet ported to this arch
@@ -56,10 +55,16 @@ OPTIONS_DEFAULT_i386= JIT
FUTURES_DESC= Enable futures
JIT_DESC= Enable JIT compiler
-JIT_CFLAGS= -msse -msse2 -mfpmath=sse
+FUTURES_IMPLIES= JIT
FUTURES_CONFIGURE_ENABLE= futures
JIT_CONFIGURE_ENABLE= jit
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MJIT} && ${ARCH} == "amd64"
+CFLAGS+= -msse -msse2 -mfpmath=sse
+.endif
post-install:
${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete
Modified: head/lang/racket/Makefile
==============================================================================
--- head/lang/racket/Makefile Tue Nov 26 11:11:36 2019 (r518461)
+++ head/lang/racket/Makefile Tue Nov 26 11:21:23 2019 (r518462)
@@ -52,10 +52,16 @@ OPTIONS_DEFAULT_i386= JIT
FUTURES_DESC= Enable futures
JIT_DESC= Enable JIT compiler
-JIT_CFLAGS= -msse -msse2 -mfpmath=sse
+FUTURES_IMPLIES= JIT
FUTURES_CONFIGURE_ENABLE= futures
JIT_CONFIGURE_ENABLE= jit
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MJIT} && ${ARCH} == "amd64"
+CFLAGS+= -msse -msse2 -mfpmath=sse
+.endif
post-install:
${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete
More information about the svn-ports-all
mailing list