aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpizzamig <pizzamig@FreeBSD.org>2018-01-27 20:44:00 +0800
committerpizzamig <pizzamig@FreeBSD.org>2018-01-27 20:44:00 +0800
commite87328cfa821030eac22ad11b847f82ec7b9fc01 (patch)
treeec7b85cc70593a3808abfeb168179b554ec9fefa /net
parentb6d57591ae977b38bf99127415effa2cb25ca79c (diff)
downloadfreebsd-ports-gnome-e87328cfa821030eac22ad11b847f82ec7b9fc01.tar.gz
freebsd-ports-gnome-e87328cfa821030eac22ad11b847f82ec7b9fc01.tar.zst
freebsd-ports-gnome-e87328cfa821030eac22ad11b847f82ec7b9fc01.zip
Mark broken ports that fail to build on i386 with clang 6
Diffstat (limited to 'net')
-rw-r--r--net/librdkafka/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/librdkafka/Makefile b/net/librdkafka/Makefile
index 195f83f53b15..3802fa548179 100644
--- a/net/librdkafka/Makefile
+++ b/net/librdkafka/Makefile
@@ -30,6 +30,12 @@ CONFIGURE_ARGS+= --disable-sasl --enable-ssl
USE_LDCONFIG= yes
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200056 && ${ARCH} == i386
+BROKEN= undefined reference to '__atomic_fetch_add_8'
+.endif
+
post-patch:
${REINPLACE_CMD} -e \
's|_ALIGN(|_RE_ALIGN(|g' ${WRKSRC}/src/rdkafka_buf.h \