diff options
-rw-r--r-- | benchmarks/stress-ng/Makefile | 6 | ||||
-rw-r--r-- | net/librdkafka/Makefile | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/benchmarks/stress-ng/Makefile b/benchmarks/stress-ng/Makefile index 068cd5eef0af..ae818827157a 100644 --- a/benchmarks/stress-ng/Makefile +++ b/benchmarks/stress-ng/Makefile @@ -18,6 +18,12 @@ ALL_TARGET= # empty PLIST_FILES= bin/stress-ng man/man1/stress-ng.1.gz +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200056 && ${ARCH} == i386 +BROKEN= undefined reference to '__atomic_fetch_add_8' +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/stress-ng ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/stress-ng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 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 \ |