svn commit: r302230 - head/devel/p5-Devel-GlobalDestruction
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Aug 7 08:43:11 UTC 2012
Author: sunpoet
Date: Tue Aug 7 08:43:10 2012
New Revision: 302230
URL: http://svn.freebsd.org/changeset/ports/302230
Log:
- Fix PLIST for older Perl releases (which build XS version)
PR: ports/170404
Submitted by: bdrewery
Modified:
head/devel/p5-Devel-GlobalDestruction/Makefile
head/devel/p5-Devel-GlobalDestruction/pkg-plist
Modified: head/devel/p5-Devel-GlobalDestruction/Makefile
==============================================================================
--- head/devel/p5-Devel-GlobalDestruction/Makefile Tue Aug 7 08:39:46 2012 (r302229)
+++ head/devel/p5-Devel-GlobalDestruction/Makefile Tue Aug 7 08:43:10 2012 (r302230)
@@ -27,7 +27,13 @@ MAN3= Devel::GlobalDestruction.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501200
-BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
+BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0.2700:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
+.endif
+
+.if ${PERL_LEVEL} < 501400
+PLIST_SUB+= PP="@comment " XS=""
+.else
+PLIST_SUB+= PP="" XS="@comment "
.endif
.include <bsd.port.post.mk>
Modified: head/devel/p5-Devel-GlobalDestruction/pkg-plist
==============================================================================
--- head/devel/p5-Devel-GlobalDestruction/pkg-plist Tue Aug 7 08:39:46 2012 (r302229)
+++ head/devel/p5-Devel-GlobalDestruction/pkg-plist Tue Aug 7 08:43:10 2012 (r302230)
@@ -1,5 +1,10 @@
-%%SITE_PERL%%/Devel/GlobalDestruction.pm
+%%PP%%%%SITE_PERL%%/Devel/GlobalDestruction.pm
+%%XS%%%%SITE_PERL%%/%%PERL_ARCH%%/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
- at dirrmtry %%SITE_PERL%%/Devel
+%%XS%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel/GlobalDestruction
+%%XS%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel
+%%PP%%@dirrmtry %%SITE_PERL%%/Devel
More information about the svn-ports-all
mailing list