mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
Fix build issues by changing LIB_DEPENDS to devel/libzookeeper
Strip ZooKeeper.so on install Remove duplicate @dirrm entries from pkg-plist
This commit is contained in:
parent
f718dc1633
commit
4a726a30ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350811
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= Net-ZooKeeper
|
PORTNAME= Net-ZooKeeper
|
||||||
PORTVERSION= 0.35
|
PORTVERSION= 0.35
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= devel perl5
|
CATEGORIES= devel perl5
|
||||||
MASTER_SITES= CPAN
|
MASTER_SITES= CPAN
|
||||||
PKGNAMEPREFIX= p5-
|
PKGNAMEPREFIX= p5-
|
||||||
@ -10,13 +11,14 @@ PKGNAMEPREFIX= p5-
|
|||||||
MAINTAINER= skreuzer@FreeBSD.org
|
MAINTAINER= skreuzer@FreeBSD.org
|
||||||
COMMENT= Perl extension for Apache ZooKeeper
|
COMMENT= Perl extension for Apache ZooKeeper
|
||||||
|
|
||||||
BUILD_DEPENDS= zookeeper>=3.3.5:${PORTSDIR}/devel/zookeeper
|
LIB_DEPENDS= libzookeeper_mt.so:${PORTSDIR}/devel/libzookeeper
|
||||||
RUN_DEPENDS:= ${BUILD_DEPEND}
|
|
||||||
|
|
||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
CONFIGURE_ARGS+= --zookeeper-include ${PREFIX}/include/c-client-src \
|
CONFIGURE_ARGS+= --zookeeper-include ${PREFIX}/include/zookeeper \
|
||||||
--zookeeper-include ${PREFIX}/include/zookeeper \
|
|
||||||
--zookeeper-lib ${PREFIX}/libs
|
--zookeeper-lib ${PREFIX}/libs
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Net/ZooKeeper/ZooKeeper.so
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -3,8 +3,5 @@
|
|||||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ZooKeeper/ZooKeeper.bs
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ZooKeeper/ZooKeeper.bs
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/ZooKeeper.pm
|
%%SITE_PERL%%/%%PERL_ARCH%%/Net/ZooKeeper.pm
|
||||||
%%PERL5_MAN3%%/Net::ZooKeeper.3.gz
|
%%PERL5_MAN3%%/Net::ZooKeeper.3.gz
|
||||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ZooKeeper
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ZooKeeper
|
||||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
|
||||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ZooKeeper
|
|
||||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
|
|
||||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net
|
|
||||||
|
Loading…
Reference in New Issue
Block a user