aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-GD2
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-GD2')
-rw-r--r--graphics/p5-GD2/Makefile6
-rw-r--r--graphics/p5-GD2/distinfo2
-rw-r--r--graphics/p5-GD2/files/patch-aa19
3 files changed, 14 insertions, 13 deletions
diff --git a/graphics/p5-GD2/Makefile b/graphics/p5-GD2/Makefile
index 6b06df58ae66..3e3907d735af 100644
--- a/graphics/p5-GD2/Makefile
+++ b/graphics/p5-GD2/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: p5-GD
-# Version required: 1.18
+# Version required: 1.25
# Date created: June 26th 1997
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#
-DISTNAME= GD-1.23
-PKGNAME= p5-GD-1.23
+DISTNAME= GD-1.25
+PKGNAME= p5-GD-1.25
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= GD
diff --git a/graphics/p5-GD2/distinfo b/graphics/p5-GD2/distinfo
index 09d1aa80adec..a2313135084a 100644
--- a/graphics/p5-GD2/distinfo
+++ b/graphics/p5-GD2/distinfo
@@ -1 +1 @@
-MD5 (GD-1.23.tar.gz) = 886dfacaec1837c05ffd2d673cd83a4f
+MD5 (GD-1.25.tar.gz) = 8a9fefb48798629b2d716abbd1ec9d6d
diff --git a/graphics/p5-GD2/files/patch-aa b/graphics/p5-GD2/files/patch-aa
index 5cbf0b29cf20..ebe743e5dc34 100644
--- a/graphics/p5-GD2/files/patch-aa
+++ b/graphics/p5-GD2/files/patch-aa
@@ -1,24 +1,25 @@
---- Makefile.PL.orig Thu Nov 11 17:15:38 1999
-+++ Makefile.PL Sat Dec 11 19:38:50 1999
-@@ -4,18 +4,12 @@
+--- Makefile.PL.orig Tue Feb 22 03:52:27 2000
++++ Makefile.PL Sun Feb 27 15:11:28 2000
+@@ -4,18 +4,13 @@
my $CAPI = defined $ExtUtils::MakeMaker::CAPI_support ? 'TRUE' : 'FALSE';
# CHECK AND ADJUST
-my @extrasearch = qw( -L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib );
--my @extrainc = '-I/usr/local/include', '-I/usr/local/include/gd';
+-my @extrainc = ('-I/usr/local/include', '-I/usr/local/include/gd');
+my @extrasearch = qw( -L/usr/X11R6/lib -L/usr/local/lib );
-+my @extrainc = qw( -I/usr/local/include -I/usr/local/include/gd -I/usr/local/include/freetype -I/usr/X11R6/include -I/usr/X11R6/include/X11 );
++my @extrainc = ('-I/usr/local/include', '-I/usr/local/include/gd -I/usr/local/include/freetype -I/usr/X11R6/include -I/usr/X11R6/include/X11');
my @extralibs;
--push @extralibs, '-lgd','-lz','-lpng','-lttf';
-+push @extralibs,@extrasearch,'-lgd','-lz','-lpng','-lttf','-lXpm','-lX11';
+-push @extralibs, '-lgd','-lpng','-lttf','-lz';
++push @extralibs, @extrasearch, '-lgd','-lpng','-lttf','-lz';
push @extralibs, "-lm" unless $^O eq 'MSWin32';
+-push @extralibs,'-lX11' unless $^O eq 'MSWin32';
-
-# FreeBSD 3.3 with libgd built from ports croaks if -lXpm is specified
-if ($^O ne 'freebsd') {
-- push @extralibs,@extrasearch,'-lX11','-lXpm';
+- push @extralibs,'-lXpm';
-}
--
++push @extralibs,'-lXpm -lX11' unless $^O eq 'MSWin32';
WriteMakefile(
'NAME' => 'GD',