mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
43 lines
977 B
Makefile
43 lines
977 B
Makefile
# Created by: Victor Yagofarov <xnasx@yandex.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= librdkafka
|
|
PORTVERSION= 1.1.0
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= pizzamig@FreeBSD.org
|
|
COMMENT= Apache Kafka C/C++ library
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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
|
|
|
|
BUILD_DEPENDS= bash:shells/bash
|
|
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
|
|
libzstd.so:archivers/zstd
|
|
|
|
USES= compiler:c11 gmake localbase:ldflags ssl
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= edenhill
|
|
|
|
GNU_CONFIGURE= yes
|
|
MAKE_ARGS= pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
|
CONFIGURE_ARGS+= --disable-sasl --enable-ssl
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e \
|
|
's|_ALIGN(|_RE_ALIGN(|g' ${WRKSRC}/src/rdkafka_buf.h \
|
|
${WRKSRC}/src/rdkafka_metadata_cache.c
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*
|
|
|
|
.include <bsd.port.mk>
|