svn commit: r350811 - head/devel/p5-Net-ZooKeeper

Steven Kreuzer skreuzer at FreeBSD.org
Thu Apr 10 14:48:43 UTC 2014


Author: skreuzer
Date: Thu Apr 10 14:48:42 2014
New Revision: 350811
URL: http://svnweb.freebsd.org/changeset/ports/350811
QAT: https://qat.redports.org/buildarchive/r350811/

Log:
  Fix build issues by changing LIB_DEPENDS to devel/libzookeeper
  Strip ZooKeeper.so on install
  Remove duplicate @dirrm entries from pkg-plist

Modified:
  head/devel/p5-Net-ZooKeeper/Makefile
  head/devel/p5-Net-ZooKeeper/pkg-plist

Modified: head/devel/p5-Net-ZooKeeper/Makefile
==============================================================================
--- head/devel/p5-Net-ZooKeeper/Makefile	Thu Apr 10 14:46:37 2014	(r350810)
+++ head/devel/p5-Net-ZooKeeper/Makefile	Thu Apr 10 14:48:42 2014	(r350811)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Net-ZooKeeper
 PORTVERSION=	0.35
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -10,13 +11,14 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	skreuzer at FreeBSD.org
 COMMENT=	Perl extension for Apache ZooKeeper
 
-BUILD_DEPENDS=	zookeeper>=3.3.5:${PORTSDIR}/devel/zookeeper
-RUN_DEPENDS:=	${BUILD_DEPEND}
+LIB_DEPENDS=	libzookeeper_mt.so:${PORTSDIR}/devel/libzookeeper
 
 USES=		perl5
 USE_PERL5=	configure
-CONFIGURE_ARGS+=	--zookeeper-include ${PREFIX}/include/c-client-src \
-			--zookeeper-include ${PREFIX}/include/zookeeper \
+CONFIGURE_ARGS+=	--zookeeper-include ${PREFIX}/include/zookeeper \
 			--zookeeper-lib ${PREFIX}/libs
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Net/ZooKeeper/ZooKeeper.so
+
 .include <bsd.port.mk>

Modified: head/devel/p5-Net-ZooKeeper/pkg-plist
==============================================================================
--- head/devel/p5-Net-ZooKeeper/pkg-plist	Thu Apr 10 14:46:37 2014	(r350810)
+++ head/devel/p5-Net-ZooKeeper/pkg-plist	Thu Apr 10 14:48:42 2014	(r350811)
@@ -3,8 +3,5 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ZooKeeper/ZooKeeper.bs
 %%SITE_PERL%%/%%PERL_ARCH%%/Net/ZooKeeper.pm
 %%PERL5_MAN3%%/Net::ZooKeeper.3.gz
- at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ZooKeeper
+ at dirrm    %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ZooKeeper
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
- at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ZooKeeper
- at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
- at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net


More information about the svn-ports-all mailing list