diff options
Diffstat (limited to 'lang/racket')
-rw-r--r-- | lang/racket/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/racket/Makefile b/lang/racket/Makefile index cc6a4c822b8a..a6f1f9c49a5f 100644 --- a/lang/racket/Makefile +++ b/lang/racket/Makefile @@ -52,11 +52,17 @@ 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 ${REINPLACE_CMD} -e "s@${STAGEDIR}@@" ${STAGEDIR}${PREFIX}/share/applications/*.desktop |