aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2009-03-29 04:45:10 +0800
committerskv <skv@FreeBSD.org>2009-03-29 04:45:10 +0800
commit0845a9092be27f06f835de5f7ab85a6ad1f99157 (patch)
tree893a11ba9c38666479720f77b2a35d21e8b42f6c /devel
parent6ec98793d23a422c2da73eeb226c51d29415ccc7 (diff)
downloadfreebsd-ports-gnome-0845a9092be27f06f835de5f7ab85a6ad1f99157.tar.gz
freebsd-ports-gnome-0845a9092be27f06f835de5f7ab85a6ad1f99157.tar.zst
freebsd-ports-gnome-0845a9092be27f06f835de5f7ab85a6ad1f99157.zip
Introduce Perl 5.10.0
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-B-Size/Makefile8
-rw-r--r--devel/p5-CPANPLUS/Makefile10
-rw-r--r--devel/p5-CPANPLUS/pkg-plist6
-rw-r--r--devel/p5-Devel-Arena/Makefile8
-rw-r--r--devel/p5-Module-Build/Makefile15
-rw-r--r--devel/p5-Module-Build/pkg-plist2
-rw-r--r--devel/p5-Module-Install/pkg-plist1
-rw-r--r--devel/p5-Scalar-Util-Clone/Makefile9
8 files changed, 49 insertions, 10 deletions
diff --git a/devel/p5-B-Size/Makefile b/devel/p5-B-Size/Makefile
index 12e78788c8f3..d66d7aef4248 100644
--- a/devel/p5-B-Size/Makefile
+++ b/devel/p5-B-Size/Makefile
@@ -18,4 +18,10 @@ PERL_CONFIGURE= yes
MAN3= B::Size.3 B::TerseSize.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 501000
+BROKEN= Does not build with perl >= 5.10
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-CPANPLUS/Makefile b/devel/p5-CPANPLUS/Makefile
index 5c2d07d7a3c3..4b2a047931b7 100644
--- a/devel/p5-CPANPLUS/Makefile
+++ b/devel/p5-CPANPLUS/Makefile
@@ -26,7 +26,6 @@ INSTALL_TARGET= pure_install
OPTIONS= TEST_REPORTER "Send reports to cpan-testers" off \
YAML "Check reports from cpan-testers" off
-MAN1= cpanp.1 cpan2dist.1
MAN3= CPANPLUS.3 \
CPANPLUS::Backend.3 \
CPANPLUS::Backend::RV.3 \
@@ -93,6 +92,15 @@ RUN_DEPENDS+= p5-Archive-Extract>=0.16:${PORTSDIR}/archivers/p5-Archive-Extract
RUN_DEPENDS+= p5-File-Fetch>=0.13_04:${PORTSDIR}/ftp/p5-File-Fetch \
p5-Module-Load-Conditional>=0.18:${PORTSDIR}/devel/p5-Module-Load-Conditional \
p5-Term-UI>=0.18:${PORTSDIR}/devel/p5-Term-UI
+PLIST_SUB+= EXE_FILES=""
+MAN1= cpanp.1 cpan2dist.1
+.else
+PLIST_SUB+= EXE_FILES="@comment "
+.endif
+
+post-patch:
+.if ${PERL_LEVEL} >= 501000
+ @${REINPLACE_CMD} -e 's/5.009/5.666/; /install_script/d' ${WRKSRC}/Makefile.PL
.endif
.if defined(WITH_TEST_REPORTER)
diff --git a/devel/p5-CPANPLUS/pkg-plist b/devel/p5-CPANPLUS/pkg-plist
index 7b3f6a4b9baa..ecb43a035bd9 100644
--- a/devel/p5-CPANPLUS/pkg-plist
+++ b/devel/p5-CPANPLUS/pkg-plist
@@ -1,6 +1,6 @@
-bin/cpan2dist
-bin/cpanp
-bin/cpanp-run-perl
+%%EXE_FILES%%bin/cpan2dist
+%%EXE_FILES%%bin/cpanp
+%%EXE_FILES%%bin/cpanp-run-perl
%%SITE_PERL%%/CPANPLUS.pm
%%SITE_PERL%%/CPANPLUS/Backend.pm
%%SITE_PERL%%/CPANPLUS/Backend/RV.pm
diff --git a/devel/p5-Devel-Arena/Makefile b/devel/p5-Devel-Arena/Makefile
index 4c711499b7a4..45da860ae45f 100644
--- a/devel/p5-Devel-Arena/Makefile
+++ b/devel/p5-Devel-Arena/Makefile
@@ -18,4 +18,10 @@ PERL_CONFIGURE= 5.8.0+
MAN3= Devel::Arena.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 501000
+BROKEN= Does not build with perl >= 5.10
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile
index 203d97a91891..cddb7adaf0e5 100644
--- a/devel/p5-Module-Build/Makefile
+++ b/devel/p5-Module-Build/Makefile
@@ -56,6 +56,19 @@ MAN3= Module::Build.3 \
Module::Build::Platform::darwin.3 \
Module::Build::Platform::os2.3 \
Module::Build::YAML.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 501000
+PLIST_SUB+= EXE_FILES="@comment "
+.else
+PLIST_SUB+= EXE_FILES=""
MAN1= config_data.1
+.endif
+
+post-patch:
+.if ${PERL_LEVEL} >= 501000
+ @${REINPLACE_CMD} -e '/script_files/d' ${WRKSRC}/Build.PL
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Module-Build/pkg-plist b/devel/p5-Module-Build/pkg-plist
index 7a8dae6b0fd9..7d6617174247 100644
--- a/devel/p5-Module-Build/pkg-plist
+++ b/devel/p5-Module-Build/pkg-plist
@@ -1,5 +1,5 @@
@comment $FreeBSD$
-bin/config_data
+%%EXE_FILES%%bin/config_data
%%SITE_PERL%%/Module/Build.pm
%%SITE_PERL%%/Module/Build/API.pod
%%SITE_PERL%%/Module/Build/Authoring.pod
diff --git a/devel/p5-Module-Install/pkg-plist b/devel/p5-Module-Install/pkg-plist
index e5a5c9a2494d..49a1c9ae335a 100644
--- a/devel/p5-Module-Install/pkg-plist
+++ b/devel/p5-Module-Install/pkg-plist
@@ -43,7 +43,6 @@
@dirrm %%SITE_PERL%%/auto/share/dist/Module-Install
@dirrmtry %%SITE_PERL%%/auto/share/dist
@dirrmtry %%SITE_PERL%%/auto/share
-@dirrmtry %%SITE_PERL%%/auto
@dirrmtry %%SITE_PERL%%/Module/Install
@dirrmtry %%SITE_PERL%%/Module
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module
diff --git a/devel/p5-Scalar-Util-Clone/Makefile b/devel/p5-Scalar-Util-Clone/Makefile
index d8aea7563db5..5f3880b29992 100644
--- a/devel/p5-Scalar-Util-Clone/Makefile
+++ b/devel/p5-Scalar-Util-Clone/Makefile
@@ -24,4 +24,11 @@ MAN3= Scalar::Util::Clone.3
post-extract:
@${PERL} -pi -e '$$_ = undef if /''OPTIMIZE''/' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 501000
+# see http://rt.cpan.org/Public/Bug/Display.html?id=33501
+BROKEN= Does not build with perl >= 5.10
+.endif
+
+.include <bsd.port.post.mk>