aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-GD
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2000-04-23 12:25:12 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2000-04-23 12:25:12 +0000
commita0f96c021260b9cbc92b69f2aed824c14b2bcb55 (patch)
treecaa49f34fad012fd83850a95ff099b14cced5526 /graphics/p5-GD
parentb83c5b41ed94b0cbaac96cb878e09b17690ed049 (diff)
downloadports-a0f96c021260b9cbc92b69f2aed824c14b2bcb55.tar.gz
ports-a0f96c021260b9cbc92b69f2aed824c14b2bcb55.zip
Notes
Diffstat (limited to 'graphics/p5-GD')
-rw-r--r--graphics/p5-GD/Makefile2
-rw-r--r--graphics/p5-GD/distinfo2
-rw-r--r--graphics/p5-GD/files/patch-aa30
3 files changed, 16 insertions, 18 deletions
diff --git a/graphics/p5-GD/Makefile b/graphics/p5-GD/Makefile
index 314bd10a1079..c3587842f0d0 100644
--- a/graphics/p5-GD/Makefile
+++ b/graphics/p5-GD/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= GD
-PORTVERSION= 1.25
+PORTVERSION= 1.27
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= GD
diff --git a/graphics/p5-GD/distinfo b/graphics/p5-GD/distinfo
index a2313135084a..2f6d6cb4b57f 100644
--- a/graphics/p5-GD/distinfo
+++ b/graphics/p5-GD/distinfo
@@ -1 +1 @@
-MD5 (GD-1.25.tar.gz) = 8a9fefb48798629b2d716abbd1ec9d6d
+MD5 (GD-1.27.tar.gz) = 6ff031721c5c9ea8a5f8ca3049616c35
diff --git a/graphics/p5-GD/files/patch-aa b/graphics/p5-GD/files/patch-aa
index ebe743e5dc34..a85cfb53ccd5 100644
--- a/graphics/p5-GD/files/patch-aa
+++ b/graphics/p5-GD/files/patch-aa
@@ -1,25 +1,23 @@
---- Makefile.PL.orig Tue Feb 22 03:52:27 2000
-+++ Makefile.PL Sun Feb 27 15:11:28 2000
-@@ -4,18 +4,13 @@
+--- Makefile.PL.orig Thu Mar 23 03:20:12 2000
++++ Makefile.PL Sun Apr 23 17:53:41 2000
+@@ -4,15 +4,12 @@
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 @extrasearch = qw( -L/usr/X11R6/lib -L/usr/local/lib );
-+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','-lpng','-lttf','-lz';
-+push @extralibs, @extrasearch, '-lgd','-lpng','-lttf','-lz';
- push @extralibs, "-lm" unless $^O eq 'MSWin32';
--push @extralibs,'-lX11' unless $^O eq 'MSWin32';
+-my @extrainc = qw(-I/usr/local/include -I/usr/local/include/gd);
+-my @extrasearch = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib );
+-my @extralibs = qw(-lgd -lpng -lttf -lz -ljpeg);
++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 @extrasearch = qw(-L/usr/X11R6/lib -L/usr/local/lib );
++my @extralibs;
++push @extralibs, @extrasearch, '-lgd', '-lpng', '-lttf', '-lz', '-ljpeg';
+ push @extralibs, '-lm' unless $^O eq 'MSWin32';
-
-# FreeBSD 3.3 with libgd built from ports croaks if -lXpm is specified
--if ($^O ne 'freebsd') {
-- push @extralibs,'-lXpm';
+-if ($^O ne 'freebsd' && $^O ne 'MSWin32') {
+- push @extralibs,'-lX11','-lXpm';
-}
-+push @extralibs,'-lXpm -lX11' unless $^O eq 'MSWin32';
++push @extralibs, '-lXpm -lX11' unless $^O eq 'MSWin32';
WriteMakefile(
'NAME' => 'GD',