aboutsummaryrefslogtreecommitdiff
path: root/devel/apr1
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-04-01 17:02:28 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-04-01 17:02:28 +0000
commitc32837131da9a5e5f4d97bad105bf0b2b535663c (patch)
tree5adda9f0bddfbe3764a71f16d9de63d2a3469a0d /devel/apr1
parent20962358a8723408a678986b411c8a32e768467a (diff)
downloadports-c32837131da9a5e5f4d97bad105bf0b2b535663c.tar.gz
ports-c32837131da9a5e5f4d97bad105bf0b2b535663c.zip
devel/apr1: fix build of devel/subversion on powerpc(spe)
Those architectures don't have atomic functions working. PR: 242680 Submitted by: jhibbits Reported by: canardo909@gmx.com
Notes
Notes: svn path=/head/; revision=530224
Diffstat (limited to 'devel/apr1')
-rw-r--r--devel/apr1/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/apr1/Makefile b/devel/apr1/Makefile
index 7b06fe750a0f..8eebd6c58a32 100644
--- a/devel/apr1/Makefile
+++ b/devel/apr1/Makefile
@@ -3,6 +3,7 @@
PORTNAME= apr
PORTVERSION= ${APR_VERSION}.${APU_VERSION}
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= APACHE/apr
DISTFILES= apr-${APR_VERSION}.tar.gz \
@@ -113,6 +114,10 @@ APU_CONF_ENV+= ${CONFIGURE_ENV:O:u} CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${AP
.include <bsd.port.options.mk>
+.if ${ARCH} == powerpc || ${ARCH} == powerpcspe
+CONFIGURE_ENV+= ap_cv_atomic_builtins=no
+.endif
+
.if ${PORT_OPTIONS:MSSL} || ${PORT_OPTIONS:MNSS}
APU_CONF_ARGS+= --with-crypto
.else