aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-07-13 01:13:49 +0800
committeryuri <yuri@FreeBSD.org>2018-07-13 01:13:49 +0800
commit9b92ef8fbf04c9b7479e2c451535de5a7ff55613 (patch)
tree895d536d23e392359ead27de2685e9d6464fa10b /net
parent1d53120aab19bd2d090f6b76403ff54d85fe9dd5 (diff)
downloadfreebsd-ports-gnome-9b92ef8fbf04c9b7479e2c451535de5a7ff55613.tar.gz
freebsd-ports-gnome-9b92ef8fbf04c9b7479e2c451535de5a7ff55613.tar.zst
freebsd-ports-gnome-9b92ef8fbf04c9b7479e2c451535de5a7ff55613.zip
net/cjdns: Unbreak on aarch64
PR: 229730 Submitted by: Greg V <greg@unrelenting.technology>
Diffstat (limited to 'net')
-rw-r--r--net/cjdns/Makefile1
-rw-r--r--net/cjdns/files/patch-node__build_make.js11
2 files changed, 11 insertions, 1 deletions
diff --git a/net/cjdns/Makefile b/net/cjdns/Makefile
index 2489bed89b5f..d0cc198fb72d 100644
--- a/net/cjdns/Makefile
+++ b/net/cjdns/Makefile
@@ -13,7 +13,6 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_FreeBSD_10_i386= fails CC_OUTPUT_921dbbb2_65ad290d=error: invalid value 'c++14' in '-std=c++14' yes
-BROKEN_aarch64= fails to compile: Link time optimization not supported: the clang compiler does not support '-march=native'
BROKEN_armv6= fails to build: Killing runaway build after 21600 seconds with no output
BROKEN_armv7= fails to build: Killing runaway build after 21600 seconds with no output
diff --git a/net/cjdns/files/patch-node__build_make.js b/net/cjdns/files/patch-node__build_make.js
new file mode 100644
index 000000000000..314d456fe505
--- /dev/null
+++ b/net/cjdns/files/patch-node__build_make.js
@@ -0,0 +1,11 @@
+--- node_build/make.js.orig 2018-07-12 12:41:34 UTC
++++ node_build/make.js
+@@ -29,7 +29,7 @@ var GCC = process.env['CC'];
+ var CFLAGS = process.env['CFLAGS'];
+ var LDFLAGS = process.env['LDFLAGS'];
+
+-var NO_MARCH_FLAG = ['arm', 'ppc', 'ppc64'];
++var NO_MARCH_FLAG = ['arm', 'arm64', 'ppc', 'ppc64'];
+
+ if (GCC) {
+ // Already specified.