aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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