aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2018-11-15 11:33:04 +0800
committerlinimon <linimon@FreeBSD.org>2018-11-15 11:33:04 +0800
commit168117b8994238324cfb4102d8daa5cc4c5ce33c (patch)
treee6b10dc436be97887657137aa5125bf2408ec635 /mail
parent1c5cb5d4a30f14011157edf7fbfadb788aca1445 (diff)
downloadfreebsd-ports-gnome-168117b8994238324cfb4102d8daa5cc4c5ce33c.tar.gz
freebsd-ports-gnome-168117b8994238324cfb4102d8daa5cc4c5ce33c.tar.zst
freebsd-ports-gnome-168117b8994238324cfb4102d8daa5cc4c5ce33c.zip
Fix build on gcc-based archs.
Approved by: portmgr (tier-2 blanket)
Diffstat (limited to 'mail')
-rw-r--r--mail/archiveopteryx-devel/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/mail/archiveopteryx-devel/Makefile b/mail/archiveopteryx-devel/Makefile
index e399dbc96d20..04060afb1586 100644
--- a/mail/archiveopteryx-devel/Makefile
+++ b/mail/archiveopteryx-devel/Makefile
@@ -12,10 +12,6 @@ COMMENT= Advanced PostgreSQL-based IMAP/POP server
LICENSE= MIT
-BROKEN_mips= fails to build: /bin/sh: clang: not found
-BROKEN_mips64= fails to build: /bin/sh: clang: not found
-BROKEN_powerpc64= Does not build: /bin/sh: clang: not found
-
BUILD_DEPENDS= jam:devel/jam
USE_GITHUB= yes
@@ -46,9 +42,11 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-# force Clang when on FreeBSD
+# force Clang when on FreeBSD with clang in base
.if ${OPSYS} == FreeBSD
-JAMARG= "-sCLANG=1"
+.if ! ${ARCH:Mmips*} && ! ${ARCH:Mpowerpc*} && ! ${ARCH} == sparc64
+JAMARG+= "-sCLANG=1"
+.endif
.endif
post-patch: