diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-07-13 05:35:09 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-07-13 05:35:09 +0000 |
commit | 94c45c5de0e3228fdfafcc2a208b2d41b2ab647f (patch) | |
tree | 7c78904a21355526bdf3de3b23402a5660b33e64 /lang/crystal/Makefile | |
parent | a1c7c376d208f1011b740ae7ace5d835af2abac2 (diff) |
Notes
Diffstat (limited to 'lang/crystal/Makefile')
-rw-r--r-- | lang/crystal/Makefile | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/lang/crystal/Makefile b/lang/crystal/Makefile index f338eb464935..bdbb60f5a0ef 100644 --- a/lang/crystal/Makefile +++ b/lang/crystal/Makefile @@ -1,9 +1,7 @@ # $FreeBSD$ PORTNAME= crystal -DISTVERSIONPREFIX= v -DISTVERSION= 0.24.1 -PORTREVISION= 2 +DISTVERSION= 0.25.1 CATEGORIES= lang MASTER_SITES= https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/crystal/:bootstrap DISTFILES= ${BOOTSTRAP_PATH}:bootstrap @@ -15,7 +13,7 @@ COMMENT= Language with Ruby-like syntax and static type checking LICENSE= APACHE20 -ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= requires prebuilt bootstrap compiler LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded \ @@ -25,7 +23,7 @@ LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded \ BUILD_DEPENDS= ${LOCALBASE}/bin/llvm-config${LLVM_VERSION}:devel/llvm${LLVM_VERSION} USES= compiler gmake pkgconfig -LLVM_VERSION= 50 +LLVM_VERSION= 60 USE_GITHUB= yes GH_ACCOUNT= crystal-lang @@ -46,9 +44,18 @@ OPTIONS_SUB= yes .include <bsd.port.options.mk> .if ${OSVERSION} >= 1200000 -BOOTSTRAP_PATH= crystal-0.24.1-freebsd12.0-2 +. if ${ARCH} == amd64 +BOOTSTRAP_PATH= crystal-0.25.0-freebsd12.0 +. elif ${ARCH} == aarch64 +BOOTSTRAP_PATH= crystal-0.25.1-freebsd12.0-aarch64 +LLVM_VERSION= 50 +. endif .else -BOOTSTRAP_PATH= crystal-0.24.1-freebsd11.1-2 +. if ${ARCH} == amd64 +BOOTSTRAP_PATH= crystal-0.25.0-freebsd11.2 +. elif ${ARCH} == aarch64 +IGNORE= prebuilt bootstrap for aarch64 only exists for 12-CURRENT +. endif .endif .if ${OSVERSION} < 1100000 IGNORE= not supported on 10.x or older @@ -61,9 +68,7 @@ post-extract: ${MKDIR} ${WRKSRC}/.build ${CP} ${DISTDIR}/${DIST_SUBDIR}/${BOOTSTRAP_PATH} ${WRKSRC}/.build/crystal ${CHMOD} +x ${WRKSRC}/.build/crystal - -post-patch: - ${LN} -s x86_64-portbld-freebsd ${WRKSRC}/src/lib_c/x86_64-unknown-freebsd + ${LN} -s x86_64-portbld-freebsd ${WRKSRC}/src/lib_c/aarch64-portbld-freebsd do-build-DOCS-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} docs \ |