aboutsummaryrefslogtreecommitdiffstats
path: root/net/librdkafka
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-06-28 03:22:08 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-06-28 03:22:08 +0800
commitb13a65a0571a00ab4244644f582ad5a91a1b8eb6 (patch)
tree4f6574264384f6ae4d8e4a61e57e8903ef0a63db /net/librdkafka
parent298721092684b06d66cc4d213a441acd29be407f (diff)
downloadfreebsd-ports-gnome-b13a65a0571a00ab4244644f582ad5a91a1b8eb6.tar.gz
freebsd-ports-gnome-b13a65a0571a00ab4244644f582ad5a91a1b8eb6.tar.zst
freebsd-ports-gnome-b13a65a0571a00ab4244644f582ad5a91a1b8eb6.zip
- Fix build by using correct python path
- Reset maintainer by his own request - Add LICENSE_FILE - Add missing USES=ssl - Simplify and silence stripping PR: 210633 Reported by: sergey@akhmatov.ru
Diffstat (limited to 'net/librdkafka')
-rw-r--r--net/librdkafka/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/net/librdkafka/Makefile b/net/librdkafka/Makefile
index 2a242aab77e9..3e3598da65e9 100644
--- a/net/librdkafka/Makefile
+++ b/net/librdkafka/Makefile
@@ -5,10 +5,11 @@ PORTNAME= librdkafka
PORTVERSION= 0.9.1
CATEGORIES= net
-MAINTAINER= xnasx@yandex.ru
+MAINTAINER= ports@FreeBSD.org
COMMENT= Apache Kafka C/C++ library
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= Does not build
@@ -17,10 +18,12 @@ BUILD_DEPENDS= bash:shells/bash
USE_GITHUB= yes
GH_ACCOUNT= edenhill
-USE_LDCONFIG= yes
-
-USES= gmake perl5 python
+USES= gmake perl5 python shebangfix ssl
+SHEBANG_FILES= lds-gen.py
GNU_CONFIGURE= yes
+MAKE_ENV= pkgconfigdir=${PREFIX}/libdata/pkgconfig
+
+USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
@@ -28,8 +31,7 @@ GNU_CONFIGURE= yes
CFLAGS+= -march=pentium
.endif
-post-stage:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librdkafka.so.1
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librdkafka++.so.1
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*
.include <bsd.port.post.mk>