blob: b2f34938f9807d6f4f628b6d9afc3c800a01f5a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Victor Yagofarov <xnasx@yandex.ru>
# $FreeBSD$
PORTNAME= librdkafka
PORTVERSION= 0.9.5
DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= luca.pizzamiglio@gmail.com
COMMENT= Apache Kafka C/C++ library
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= liblz4.so:archivers/liblz4
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_powerpc64= fails to build: cc: Internal error: Segmentation fault (program ld)
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
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>
|