Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2016 19:22:08 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417676 - head/net/librdkafka
Message-ID:  <201606271922.u5RJM8oZ073764@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Jun 27 19:22:08 2016
New Revision: 417676
URL: https://svnweb.freebsd.org/changeset/ports/417676

Log:
  - 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

Modified:
  head/net/librdkafka/Makefile

Modified: head/net/librdkafka/Makefile
==============================================================================
--- head/net/librdkafka/Makefile	Mon Jun 27 18:58:52 2016	(r417675)
+++ head/net/librdkafka/Makefile	Mon Jun 27 19:22:08 2016	(r417676)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606271922.u5RJM8oZ073764>