diff options
author | linimon <linimon@FreeBSD.org> | 2018-11-15 11:26:23 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2018-11-15 11:26:23 +0800 |
commit | 1c5cb5d4a30f14011157edf7fbfadb788aca1445 (patch) | |
tree | cbf5af2b11bb9aa6815dd23ad3d9dcd1333212e3 /mail | |
parent | 6d9738fc85956397eff29d65413c8283c5975534 (diff) | |
download | freebsd-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/Makefile | 8 |
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} \ |