# Created by: Victor Yagofarov # $FreeBSD$ PORTNAME= librdkafka PORTVERSION= 0.9.1 CATEGORIES= net MAINTAINER= ports@FreeBSD.org COMMENT= Apache Kafka C/C++ library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= bash:shells/bash BROKEN_mips= Fails to build: undefined reference to __sync_add_and_fetch_4 BROKEN_mips64= Fails to build: undefined reference to __sync_add_and_fetch_4 BROKEN_sparc64= Fails to build: internal compiler error USE_GITHUB= yes GH_ACCOUNT= edenhill USES= gmake perl5 python shebangfix ssl SHEBANG_FILES= lds-gen.py GNU_CONFIGURE= yes MAKE_ARGS= pkgconfigdir=${PREFIX}/libdata/pkgconfig USE_LDCONFIG= yes .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 && ${ARCH} == "i386" CFLAGS+= -march=pentium .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* .include