From 80a707801d5c415f23f5bd2db38b3b5baf9c8d04 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Thu, 15 Nov 2018 03:33:04 +0000 Subject: Fix build on gcc-based archs. Approved by: portmgr (tier-2 blanket) --- mail/archiveopteryx-devel/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'mail/archiveopteryx-devel') 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 -# 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: -- cgit v1.2.3