diff options
Diffstat (limited to 'lang/racket/Makefile')
-rw-r--r-- | lang/racket/Makefile | 45 |
1 files changed, 26 insertions, 19 deletions
diff --git a/lang/racket/Makefile b/lang/racket/Makefile index db30731c9953..50a9e87110b6 100644 --- a/lang/racket/Makefile +++ b/lang/racket/Makefile @@ -1,6 +1,5 @@ PORTNAME= racket -PORTVERSION= 8.11.1 -PORTREVISION= 1 +PORTVERSION= 8.18 CATEGORIES= lang scheme MASTER_SITES= http://mirror.racket-lang.org/installers/${PORTVERSION}/ \ http://www.cs.utah.edu/plt/installers/${PORTVERSION}/ \ @@ -19,8 +18,6 @@ LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BROKEN= Fails to build, expand-elf: cannot move SHT_PROGBITS section - NOT_FOR_ARCHS= riscv64 NOT_FOR_ARCHS_REASON= unsupported platform @@ -31,31 +28,33 @@ LIB_DEPENDS= libffi.so:devel/libffi \ USES= cpe gmake gnome iconv jpeg libtool localbase sqlite tar:tgz CPE_VENDOR= ${PORTNAME}-lang USE_GNOME= cairo pango + +USE_LDCONFIG= yes + GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-liblz4 \ - --enable-pthread \ - --mandir=${PREFIX}/share/man -WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src -PATCH_WRKSRC= ${WRKDIR}/racket-${PORTVERSION} -USE_LDCONFIG= yes -REINPLACE_ARGS= -i "" + --enable-pthread + CONFLICTS= racket-minimal +REINPLACE_ARGS= -i "" + +PATCH_WRKSRC= ${WRKDIR}/racket-${PORTVERSION} +WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src + OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE_amd64= FUTURES JIT +OPTIONS_DEFINE_i386= FUTURES JIT OPTIONS_DEFAULT= CS -OPTIONS_SUB= yes - OPTIONS_DEFAULT_powerpc= BC OPTIONS_DEFAULT_powerpc64= BC OPTIONS_DEFAULT_powerpc64le= BC -OPTIONS_DEFINE_amd64= FUTURES JIT -OPTIONS_DEFINE_i386= FUTURES JIT +OPTIONS_SINGLE= BACKEND +OPTIONS_SINGLE_BACKEND= BC CS OPTIONS_EXCLUDE_powerpc= CS OPTIONS_EXCLUDE_powerpc64= CS OPTIONS_EXCLUDE_powerpc64le= CS - -OPTIONS_SINGLE= BACKEND -OPTIONS_SINGLE_BACKEND= BC CS +OPTIONS_SUB= yes BACKEND_DESC= Racket Backend BC_DESC= Build ByteCode backend (legacy) @@ -68,13 +67,13 @@ BC_CONFIGURE_ON= --enable-bconly \ --enable-places CS_CONFIGURE_ON= --enable-csonly \ --enable-mach=${CHEZ_MACHTYPE} -FUTURES_CONFIGURE_ENABLE= futures FUTURES_IMPLIES= JIT FUTURES_PREVENTS= CS FUTURES_PREVENTS_MSG= CS enables futures by default -JIT_CONFIGURE_ENABLE= jit +FUTURES_CONFIGURE_ENABLE= futures JIT_PREVENTS= CS JIT_PREVENTS_MSG= CS enables jit by default +JIT_CONFIGURE_ENABLE= jit .include <bsd.port.options.mk> @@ -88,6 +87,14 @@ CHEZ_MACHTYPE= tarm64fb CHEZ_MACHTYPE= ti3fb .elif ${ARCH} == "powerpc" CHEZ_MACHTYPE= tppc32fb +.elif ${ARCH} == "powerpc64" +CHEZ_MACHTYPE= tpb64b +.elif ${ARCH} == "powerpc64le" +CHEZ_MACHTYPE= tpb64l +.endif + +.if ${ARCH:Mpowerpc64*} +CONFIGURE_ARGS+= --enable-pb .endif post-patch: |