aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2018-11-15 11:26:23 +0800
committerlinimon <linimon@FreeBSD.org>2018-11-15 11:26:23 +0800
commit1c5cb5d4a30f14011157edf7fbfadb788aca1445 (patch)
treecbf5af2b11bb9aa6815dd23ad3d9dcd1333212e3 /mail
parent6d9738fc85956397eff29d65413c8283c5975534 (diff)
downloadfreebsd-ports-gnome-1c5cb5d4a30f14011157edf7fbfadb788aca1445.tar.gz
freebsd-ports-gnome-1c5cb5d4a30f14011157edf7fbfadb788aca1445.tar.zst
freebsd-ports-gnome-1c5cb5d4a30f14011157edf7fbfadb788aca1445.zip
Fix build on gcc-based archs.
Approved by: portmgr (tier-2 blanket)
Diffstat (limited to 'mail')
-rw-r--r--mail/archiveopteryx/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/mail/archiveopteryx/Makefile b/mail/archiveopteryx/Makefile
index 2f3e3fda266f..99874103da22 100644
--- a/mail/archiveopteryx/Makefile
+++ b/mail/archiveopteryx/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= fails to build: /bin/sh: clang: not found
-
BUILD_DEPENDS= jam:devel/jam
USES= perl5 ssl tar:bzip2
@@ -40,10 +36,12 @@ 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
+.if ! ${ARCH:Mmips*} && ! ${ARCH:Mpowerpc*} && ! ${ARCH} == sparc64
JAMARG+= "-sCLANG=1"
.endif
+.endif
post-patch:
@${EGREP} -Rl '%%[[:alpha:]]+%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \