diff options
author | dmgk <dmgk@FreeBSD.org> | 2020-02-25 23:46:27 +0800 |
---|---|---|
committer | dmgk <dmgk@FreeBSD.org> | 2020-02-25 23:46:27 +0800 |
commit | 7585112eaaef8af0eb80c8cb3a7ac93f9e6c3dca (patch) | |
tree | ce470702d70ce6ba5c8b6fdef3d8fb5b5e686e0f | |
parent | 608d40ead55a948e5bc3d79b17767d24c61742b0 (diff) | |
download | freebsd-ports-gnome-7585112eaaef8af0eb80c8cb3a7ac93f9e6c3dca.tar.gz freebsd-ports-gnome-7585112eaaef8af0eb80c8cb3a7ac93f9e6c3dca.tar.zst freebsd-ports-gnome-7585112eaaef8af0eb80c8cb3a7ac93f9e6c3dca.zip |
lang/go-devel: Require FreeBSD 12 or newer for aarch64 support
Upstream CL: https://go-review.googlesource.com/c/go/+/220426/
-rw-r--r-- | lang/go-devel/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/go-devel/Makefile b/lang/go-devel/Makefile index 25e9925f6941..d8cc2a545ccd 100644 --- a/lang/go-devel/Makefile +++ b/lang/go-devel/Makefile @@ -64,6 +64,12 @@ GOARCH_i386= 386 GOARM_armv6= 6 GOARM_armv7= 7 +.include <bsd.port.pre.mk> + +.if ${ARCH} == aarch64 && ${OSVERSION} < 1200000 +IGNORE= aarch64 support requires FreeBSD 12.0 or newer +.endif + post-patch: @${REINPLACE_CMD} -e 's|^if ulimit -T|false \&\& &|' ${WRKSRC}/src/run.bash # Needed only for untagged releases @@ -121,4 +127,4 @@ makesum: ${RM} ${DISTINFO_FILE}.tmp .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |