aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Image-Info
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-06-20 02:26:11 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-06-20 02:26:11 +0000
commit01057ccebbd74fe7d341bc2bc5bdc5cb936ecad1 (patch)
treeb4689e2dfe4cc4824bbf322f7de6383908961a6f /graphics/p5-Image-Info
parente85d62852a5a7c8e6a1d24a9effdbd1dd762cdfa (diff)
downloadports-01057ccebbd74fe7d341bc2bc5bdc5cb936ecad1.tar.gz
ports-01057ccebbd74fe7d341bc2bc5bdc5cb936ecad1.zip
Notes
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";
- }
-