aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2013-07-01 22:15:59 +0800
committerculot <culot@FreeBSD.org>2013-07-01 22:15:59 +0800
commit33014b7cae2e45fc8fc72d6b77e038d3d4b8e260 (patch)
tree89d836caa86d2920bdbf40c5d609b96983f6937c
parenta4bf4d0adcf731a4daab6875bed693d94c8d4b22 (diff)
downloadfreebsd-ports-gnome-33014b7cae2e45fc8fc72d6b77e038d3d4b8e260.tar.gz
freebsd-ports-gnome-33014b7cae2e45fc8fc72d6b77e038d3d4b8e260.tar.zst
freebsd-ports-gnome-33014b7cae2e45fc8fc72d6b77e038d3d4b8e260.zip
- Fix dependencies (XS portion is now a distinct port)
PR: ports/179328 Submitted by: Evgeniy Kosov <evgeniy@kosov.su>
-rw-r--r--devel/p5-Devel-GlobalDestruction/Makefile6
-rw-r--r--devel/p5-Devel-GlobalDestruction/pkg-plist11
2 files changed, 6 insertions, 11 deletions
diff --git a/devel/p5-Devel-GlobalDestruction/Makefile b/devel/p5-Devel-GlobalDestruction/Makefile
index 5502d99e556a..db84f352c5b4 100644
--- a/devel/p5-Devel-GlobalDestruction/Makefile
+++ b/devel/p5-Devel-GlobalDestruction/Makefile
@@ -3,6 +3,7 @@
PORTNAME= Devel-GlobalDestruction
PORTVERSION= 0.11
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -23,9 +24,8 @@ MAN3= Devel::GlobalDestruction.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
-PLIST_SUB+= PP="@comment " XS=""
-.else
-PLIST_SUB+= PP="" XS="@comment "
+BUILD_DEPENDS+= p5-Devel-GlobalDestruction-XS>0:${PORTSDIR}/devel/p5-Devel-GlobalDestruction
+RUN_DEPENDS+= p5-Devel-GlobalDestruction-XS>0:${PORTSDIR}/devel/p5-Devel-GlobalDestruction
.endif
.include <bsd.port.post.mk>
diff --git a/devel/p5-Devel-GlobalDestruction/pkg-plist b/devel/p5-Devel-GlobalDestruction/pkg-plist
index 1a8ad81bcecc..0889aa9f61c9 100644
--- a/devel/p5-Devel-GlobalDestruction/pkg-plist
+++ b/devel/p5-Devel-GlobalDestruction/pkg-plist
@@ -1,10 +1,5 @@
-%%PP%%%%SITE_PERL%%/Devel/GlobalDestruction.pm
-%%XS%%%%SITE_PERL%%/%%PERL_ARCH%%/Devel/GlobalDestruction.pm
+%%SITE_PERL%%/Devel/GlobalDestruction.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/GlobalDestruction/.packlist
-%%XS%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/GlobalDestruction/GlobalDestruction.bs
-%%XS%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/GlobalDestruction/GlobalDestruction.so
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/GlobalDestruction
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/GlobalDestruction
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel
-%%XS%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel/GlobalDestruction
-%%XS%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel
-%%PP%%@dirrmtry %%SITE_PERL%%/Devel
+@dirrmtry %%SITE_PERL%%/Devel