summaryrefslogtreecommitdiffstats
path: root/graphics/p5-GD1
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-GD1')
-rw-r--r--graphics/p5-GD1/Makefile3
-rw-r--r--graphics/p5-GD1/distinfo2
-rw-r--r--graphics/p5-GD1/files/patch-aa10
3 files changed, 7 insertions, 8 deletions
diff --git a/graphics/p5-GD1/Makefile b/graphics/p5-GD1/Makefile
index 838e75a..0fc5849 100644
--- a/graphics/p5-GD1/Makefile
+++ b/graphics/p5-GD1/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= GD
-PORTVERSION= 1.32
-PORTREVISION= 2
+PORTVERSION= 1.33
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 3e4cd91..9c31faf 100644
--- a/graphics/p5-GD1/distinfo
+++ b/graphics/p5-GD1/distinfo
@@ -1 +1 @@
-MD5 (GD-1.32.tar.gz) = 1fa982def11e42809ef3b802e38a5eb8
+MD5 (GD-1.33.tar.gz) = 48d9f13b2652a56a08a02ea5ed1aadf6
diff --git a/graphics/p5-GD1/files/patch-aa b/graphics/p5-GD1/files/patch-aa
index 6d9f767..5a406c8 100644
--- a/graphics/p5-GD1/files/patch-aa
+++ b/graphics/p5-GD1/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.PL.orig Fri Jun 23 11:31:50 2000
-+++ Makefile.PL Thu Nov 9 13:38:26 2000
+--- Makefile.PL.orig Sat Aug 5 04:59:22 2000
++++ Makefile.PL Thu May 10 06:36:36 2001
@@ -3,38 +3,17 @@
warn "NOTICE: This module requires libgd 1.8.3 or higher (shared library version 4.X).\n";
@@ -15,8 +15,8 @@
-my $TTF = lc prompt('Build FreeType support?','y') eq 'y';
-my $XPM = $^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
+my @INC = 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 @LIBPATH = qw(-L/usr/X11R6/lib -L/usr/local/lib );
-+my @LIBS = qw(-lttf -ljpeg -lgd -lpng -lz);
++my @LIBPATH = qw(-L/usr/local/lib -L/usr/X11R6/lib);
++my @LIBS = qw(-lfreetype -ljpeg -lgd -lpng -lz);
my $FCGI = 0; # set to 1 to build compatability with fastCGI
@@ -40,7 +40,7 @@
-$DEFINES .= ' -DHAVE_JPEG' if $JPEG;
-$DEFINES .= ' -DHAVE_TTF' if $TTF;
-$DEFINES .= ' -DHAVE_XPM' if $XPM;
-+my $DEFINES = '-DHAVE_JPEG -DHAVE_TTF';
++my $DEFINES = '-DHAVE_JPEG -DHAVE_FREETYPE';
+$DEFINES .= ' -DHAVE_XPM' unless $^O eq 'MSWin32';
$DEFINES .= ' -DFCGI' if $FCGI;
OpenPOWER on IntegriCloud