1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/graphics/p5-GD1/files/patch-aa
Vanilla I. Shu a0f96c0212 Upgrade
p5-Authen-PAM => 0.09
	p5-Chart-PNGgraph => 1.21
	p5-FastCGI => 0.52
	p5-GD => 1.27
	p5-GD-Graph => 1.30
	p5-HTML-Stream => 1.45
	p5-IMAP-Admin => 1.2.2
	p5-IRC => 0.63
	p5-Image-Size => 2.901
	p5-MIME-Lite => 1.137
	p5-MIME-Tools => 4.124
	p5-Mail-POP3Client => 2.6
	p5-Mail-Tools => 1.1401
	p5-MatrixReal => 1.3a5
	p5-Net-Whois => 1.9
	p5-Parse-RecDescent => 1.78
	p5-Proc-Simple => 1.14
	p5-Term-ReadKey => 2.14
	p5-Text-Template => 1.23
	p5-Time => 100.010301
	p5-TimeDate => 1.09
	p5-Tk => 800.021
	p5-XML-Parser => 2.28
2000-04-23 12:25:12 +00:00

24 lines
1016 B
Plaintext

--- 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 @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' && $^O ne 'MSWin32') {
- push @extralibs,'-lX11','-lXpm';
-}
+push @extralibs, '-lXpm -lX11' unless $^O eq 'MSWin32';
WriteMakefile(
'NAME' => 'GD',