mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build on gcc-based archs.
Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
e5b496487d
commit
80a707801d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484995
1 changed files with 4 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue