From 99a390f50bab457f60aec3050c18c4b5c5fb7023 Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Fri, 11 Jul 2003 18:16:14 +0000 Subject: 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 --- graphics/p5-GD/files/patch-aa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/p5-GD/files/patch-aa') diff --git a/graphics/p5-GD/files/patch-aa b/graphics/p5-GD/files/patch-aa index 927c439e4f5e..b0d25fd004db 100644 --- a/graphics/p5-GD/files/patch-aa +++ b/graphics/p5-GD/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 -- cgit v1.2.3