summaryrefslogtreecommitdiff
path: root/graphics/p5-GD1
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-07-11 18:16:14 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-07-11 18:16:14 +0000
commit99a390f50bab457f60aec3050c18c4b5c5fb7023 (patch)
treefb6e1d6bcf31a0efb7675597b7fa4f423710c0bb /graphics/p5-GD1
parentUpdate to 5.3.10. (diff)
o Change library name from libgd to libgd1.
o Do not install everything except headers and libraries (to avoid conflicting with graphics/gd2) o Fix dependency on new libgd1(for many ports). PR: ports/54100 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=84696
Diffstat (limited to 'graphics/p5-GD1')
-rw-r--r--graphics/p5-GD1/Makefile5
-rw-r--r--graphics/p5-GD1/files/patch-aa4
2 files changed, 5 insertions, 4 deletions
diff --git a/graphics/p5-GD1/Makefile b/graphics/p5-GD1/Makefile
index 27a84df1227b..6f501f95d60e 100644
--- a/graphics/p5-GD1/Makefile
+++ b/graphics/p5-GD1/Makefile
@@ -7,6 +7,7 @@
PORTNAME= GD
PORTVERSION= 1.41
+PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= GD
@@ -15,7 +16,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= A perl5 interface to Gd Graphics Library
-LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd
PERL_CONFIGURE= yes
USE_REINPLACE= yes
@@ -26,7 +27,7 @@ MAN3= GD.3
post-patch:
${REINPLACE_CMD} \
-e 's,@@LOCALBASE@@,${LOCALBASE},g' \
- -e 's,@@LOCALBASE@@,${LOCALBASE},g' \
+ -e 's,@@X11BASE@@,${X11BASE},g' \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
diff --git a/graphics/p5-GD1/files/patch-aa b/graphics/p5-GD1/files/patch-aa
index 927c439e4f5e..b0d25fd004db 100644
--- a/graphics/p5-GD1/files/patch-aa
+++ b/graphics/p5-GD1/files/patch-aa
@@ -15,9 +15,9 @@
-my $TTF = lc prompt('Build FreeType support?','y') eq 'y';
-my $XPM = $^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
-my $GIF = lc prompt('Build GIF support (for patched versions of gd)?','n') eq 'y';
-+my @INC = qw(-I@@LOCALBASE@@/include -I@@LOCALBASE@@/include/gd -I@@LOCALBASE@@/include/freetype -I@@X11BASE@@/include -I@@X11BASE@@/include/X11);
++my @INC = qw(-I@@LOCALBASE@@/include/gd -I@@LOCALBASE@@/include/freetype -I@@LOCALBASE@@/include -I@@X11BASE@@/include/X11 -I@@X11BASE@@/include);
+my @LIBPATH = qw(-L@@LOCALBASE@@/lib -L@@X11BASE@@/lib);
-+my @LIBS = qw(-lfreetype -ljpeg -lgd -lpng -lz);
++my @LIBS = qw(-lfreetype -ljpeg -lgd1 -lpng -lz);
my $FCGI = 0; # set to 1 to build compatability with fastCGI