aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-09-01 01:55:10 +0800
committerleeym <leeym@FreeBSD.org>2005-09-01 01:55:10 +0800
commit1e881a89208d41aa13101f1f74c325290d1a4171 (patch)
tree2cfeb0ace21e3ff741ab21bead0ef002895fda74 /graphics
parentef65834cfb8a2f8e0350b78c58bb5e80938ba8dc (diff)
downloadfreebsd-ports-gnome-1e881a89208d41aa13101f1f74c325290d1a4171.tar.gz
freebsd-ports-gnome-1e881a89208d41aa13101f1f74c325290d1a4171.tar.zst
freebsd-ports-gnome-1e881a89208d41aa13101f1f74c325290d1a4171.zip
- Update to 1.06
- Fix build on old perl and unbreak PR: 84183 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'graphics')
-rw-r--r--graphics/p5-Graphics-ColorNames/Makefile12
-rw-r--r--graphics/p5-Graphics-ColorNames/distinfo4
2 files changed, 7 insertions, 9 deletions
diff --git a/graphics/p5-Graphics-ColorNames/Makefile b/graphics/p5-Graphics-ColorNames/Makefile
index 44f33c1178e3..ba13785357c3 100644
--- a/graphics/p5-Graphics-ColorNames/Makefile
+++ b/graphics/p5-Graphics-ColorNames/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Graphics-ColorNames
-PORTVERSION= 1.05
+PORTVERSION= 1.06
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Graphics
@@ -24,10 +24,8 @@ MAN3= Graphics::ColorNames.3 \
Graphics::ColorNames::X.3 \
Graphics::ColourNames.3
-.include <bsd.port.pre.mk>
+post-patch:
+ @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' \
+ ${WRKSRC}/lib/Graphics/ColorNames.pm
-.if ${OSVERSION} < 500000
-BROKEN= "Does not build on FreeBSD 4.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/p5-Graphics-ColorNames/distinfo b/graphics/p5-Graphics-ColorNames/distinfo
index c674ba1b1783..8acb7337a3b5 100644
--- a/graphics/p5-Graphics-ColorNames/distinfo
+++ b/graphics/p5-Graphics-ColorNames/distinfo
@@ -1,2 +1,2 @@
-MD5 (Graphics-ColorNames-1.05.tar.gz) = f361bda03aaff55625ef11ba93f165a5
-SIZE (Graphics-ColorNames-1.05.tar.gz) = 19771
+MD5 (Graphics-ColorNames-1.06.tar.gz) = 0551cb0b17babcbdef284d5b502731a4
+SIZE (Graphics-ColorNames-1.06.tar.gz) = 21851