aboutsummaryrefslogtreecommitdiff
path: root/mail/archiveopteryx
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-11-15 03:26:23 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-11-15 03:26:23 +0000
commite5b496487dcce7c2f98893027f1d4cf6cee60283 (patch)
treecbf5af2b11bb9aa6815dd23ad3d9dcd1333212e3 /mail/archiveopteryx
parent891c8a0c26aa4315a495a3dd4d46d79207dda0e3 (diff)
downloadports-e5b496487dcce7c2f98893027f1d4cf6cee60283.tar.gz
ports-e5b496487dcce7c2f98893027f1d4cf6cee60283.zip
Fix build on gcc-based archs.
Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=484994
Diffstat (limited to 'mail/archiveopteryx')
-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} \