diff options
Diffstat (limited to 'graphics/p5-GD1')
-rw-r--r-- | graphics/p5-GD1/Makefile | 2 | ||||
-rw-r--r-- | graphics/p5-GD1/distinfo | 2 | ||||
-rw-r--r-- | graphics/p5-GD1/files/patch-aa | 30 |
3 files changed, 16 insertions, 18 deletions
diff --git a/graphics/p5-GD1/Makefile b/graphics/p5-GD1/Makefile index 314bd10a1079..c3587842f0d0 100644 --- a/graphics/p5-GD1/Makefile +++ b/graphics/p5-GD1/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-GD1/distinfo b/graphics/p5-GD1/distinfo index a2313135084a..2f6d6cb4b57f 100644 --- a/graphics/p5-GD1/distinfo +++ b/graphics/p5-GD1/distinfo @@ -1 +1 @@ -MD5 (GD-1.25.tar.gz) = 8a9fefb48798629b2d716abbd1ec9d6d +MD5 (GD-1.27.tar.gz) = 6ff031721c5c9ea8a5f8ca3049616c35 diff --git a/graphics/p5-GD1/files/patch-aa b/graphics/p5-GD1/files/patch-aa index ebe743e5dc34..a85cfb53ccd5 100644 --- a/graphics/p5-GD1/files/patch-aa +++ b/graphics/p5-GD1/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', |