svn commit: r351097 - branches/2014Q2/devel/p5-Net-ZooKeeper

Antoine Brodin antoine at FreeBSD.org
Sat Apr 12 14:22:37 UTC 2014


Author: antoine
Date: Sat Apr 12 14:22:36 2014
New Revision: 351097
URL: http://svnweb.freebsd.org/changeset/ports/351097
QAT: https://qat.redports.org/buildarchive/r351097/

Log:
  MFH: r350811
  
  Fix build issues by changing LIB_DEPENDS to devel/libzookeeper
  Strip ZooKeeper.so on install
  Remove duplicate @dirrm entries from pkg-plist
  
  Approved by:	portmgr (self)

Modified:
  branches/2014Q2/devel/p5-Net-ZooKeeper/Makefile
  branches/2014Q2/devel/p5-Net-ZooKeeper/pkg-plist
Directory Properties:
  branches/2014Q2/   (props changed)

Modified: branches/2014Q2/devel/p5-Net-ZooKeeper/Makefile
==============================================================================
--- branches/2014Q2/devel/p5-Net-ZooKeeper/Makefile	Sat Apr 12 14:21:48 2014	(r351096)
+++ branches/2014Q2/devel/p5-Net-ZooKeeper/Makefile	Sat Apr 12 14:22:36 2014	(r351097)
@@ -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: branches/2014Q2/devel/p5-Net-ZooKeeper/pkg-plist
==============================================================================
--- branches/2014Q2/devel/p5-Net-ZooKeeper/pkg-plist	Sat Apr 12 14:21:48 2014	(r351096)
+++ branches/2014Q2/devel/p5-Net-ZooKeeper/pkg-plist	Sat Apr 12 14:22:36 2014	(r351097)
@@ -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