aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Image-Info
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-06-20 10:26:11 +0800
committerleeym <leeym@FreeBSD.org>2006-06-20 10:26:11 +0800
commitc8494568d201e7ce3def0d227575245fbecb9a00 (patch)
tree4aa240327f7c7a9a1f50a381235c2b5ab463dfbf /graphics/p5-Image-Info
parent84d2f405b67cca3cc18989aa0ed9ab26409d063b (diff)
downloadfreebsd-ports-gnome-c8494568d201e7ce3def0d227575245fbecb9a00.tar.gz
freebsd-ports-gnome-c8494568d201e7ce3def0d227575245fbecb9a00.tar.zst
freebsd-ports-gnome-c8494568d201e7ce3def0d227575245fbecb9a00.zip
- mark IGNORE under old perl
Diffstat (limited to 'graphics/p5-Image-Info')
-rw-r--r--graphics/p5-Image-Info/Makefile4
-rw-r--r--graphics/p5-Image-Info/files/5.005-Info.pm.tmpl11
-rw-r--r--graphics/p5-Image-Info/files/5.005-lib::Image::Info::PPM.pm12
3 files changed, 1 insertions, 26 deletions
diff --git a/graphics/p5-Image-Info/Makefile b/graphics/p5-Image-Info/Makefile
index d7a73f4c76d8..73fade983d1a 100644
--- a/graphics/p5-Image-Info/Makefile
+++ b/graphics/p5-Image-Info/Makefile
@@ -29,9 +29,7 @@ MAN3= Image::Info.3 Image::Info::BMP.3 Image::Info::SVG.3 \
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
-EXTRA_PATCHES= ${PATCHDIR}/5.005-Info.pm.tmpl ${PATCHDIR}/5.005-lib::Image::Info::PPM.pm
-post-patch:
- @${RM} -f ${WRKSRC}/lib/Image/Info/PPM.pm.orig
+IGNORE= needs perl 5.6.0 or higher, install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>
diff --git a/graphics/p5-Image-Info/files/5.005-Info.pm.tmpl b/graphics/p5-Image-Info/files/5.005-Info.pm.tmpl
deleted file mode 100644
index 5a68564d92ce..000000000000
--- a/graphics/p5-Image-Info/files/5.005-Info.pm.tmpl
+++ /dev/null
@@ -1,11 +0,0 @@
---- dev/Info.pm.tmpl~ Wed Jan 7 13:39:11 2004
-+++ dev/Info.pm.tmpl Mon Mar 22 14:33:37 2004
-@@ -33,7 +33,7 @@
- }
- elsif (ref($source) eq "SCALAR") {
- if ($] >= 5.008) {
-- open(my $s, "<", $source) or return _os_err("Can't open string");
-+ open(my $s, "<". $source) or return _os_err("Can't open string");
- $source = $s;
- }
- else {
diff --git a/graphics/p5-Image-Info/files/5.005-lib::Image::Info::PPM.pm b/graphics/p5-Image-Info/files/5.005-lib::Image::Info::PPM.pm
deleted file mode 100644
index ad5ef833b904..000000000000
--- a/graphics/p5-Image-Info/files/5.005-lib::Image::Info::PPM.pm
+++ /dev/null
@@ -1,12 +0,0 @@
---- lib/Image/Info/PPM.pm~ Mon Oct 6 18:38:53 2003
-+++ lib/Image/Info/PPM.pm Mon Mar 22 14:29:29 2004
-@@ -39,7 +39,8 @@
- $type = shift(@header);
- $type =~ s/^P// || die;
- $binary++ if $type > 3;
-- $type = "p" . qw/p b g/[$type % 3] . "m";
-+ my @typetmp = qw/p b g/;
-+ $type = "p" . $typetmp[$type % 3] . "m";
- $num_wanted = 2 if $type eq "pbm";
- }
-