Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 08:43:11 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302230 - head/devel/p5-Devel-GlobalDestruction
Message-ID:  <201208070843.q778hBqP041054@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
-@dirrmtry %%SITE_PERL%%/Devel
+%%XS%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel/GlobalDestruction
+%%XS%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel
+%%PP%%@dirrmtry %%SITE_PERL%%/Devel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208070843.q778hBqP041054>