diff options
author | mharo <mharo@FreeBSD.org> | 1999-12-25 03:17:37 +0800 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 1999-12-25 03:17:37 +0800 |
commit | 72510250bb752837987e3ea1f2fa6696667c25d3 (patch) | |
tree | f7abaf1f7a5a5e752889ab5d35fdbaa6f9175bbe /graphics/p5-GD2 | |
parent | 2935d73cd6c3533047722a84386efeac4e15c5c9 (diff) | |
download | freebsd-ports-gnome-72510250bb752837987e3ea1f2fa6696667c25d3.tar.gz freebsd-ports-gnome-72510250bb752837987e3ea1f2fa6696667c25d3.tar.zst freebsd-ports-gnome-72510250bb752837987e3ea1f2fa6696667c25d3.zip |
forgot to cvs add
Diffstat (limited to 'graphics/p5-GD2')
-rw-r--r-- | graphics/p5-GD2/files/patch-aa | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/p5-GD2/files/patch-aa b/graphics/p5-GD2/files/patch-aa new file mode 100644 index 000000000000..5cbf0b29cf20 --- /dev/null +++ b/graphics/p5-GD2/files/patch-aa @@ -0,0 +1,24 @@ +--- Makefile.PL.orig Thu Nov 11 17:15:38 1999 ++++ Makefile.PL Sat Dec 11 19:38:50 1999 +@@ -4,18 +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 = 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 @extralibs; +-push @extralibs, '-lgd','-lz','-lpng','-lttf'; ++push @extralibs,@extrasearch,'-lgd','-lz','-lpng','-lttf','-lXpm','-lX11'; + 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,@extrasearch,'-lX11','-lXpm'; +-} +- + + WriteMakefile( + 'NAME' => 'GD', |