summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/GD/files/2.06-makefile-opts.patch')
-rw-r--r--dev-perl/GD/files/2.06-makefile-opts.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-perl/GD/files/2.06-makefile-opts.patch b/dev-perl/GD/files/2.06-makefile-opts.patch
new file mode 100644
index 000000000000..fbbc705d7b28
--- /dev/null
+++ b/dev-perl/GD/files/2.06-makefile-opts.patch
@@ -0,0 +1,31 @@
+--- Makefile.PL.orig 2003-02-23 21:10:37.000000000 -0500
++++ Makefile.PL 2003-02-23 21:12:43.000000000 -0500
+@@ -33,19 +33,19 @@
+
+ # path to libgd
+ warn "\n";
+-my $PREFIX = lc prompt('Where is libgd installed?','/usr/lib');
+-unless ($PREFIX eq '/usr/lib') {
+- $PREFIX =~ s!/lib$!!;
+- unshift @INC,"-I$PREFIX/include";
+- unshift @LIBPATH,"-L$PREFIX/lib";
+-}
++#my $PREFIX = lc prompt('Where is libgd installed?','/usr/lib');
++#unless ($PREFIX eq '/usr/lib') {
++# $PREFIX =~ s!/lib$!!;
++# unshift @INC,"-I$PREFIX/include";
++# unshift @LIBPATH,"-L$PREFIX/lib";
++#}
+
+ # FEATURE FLAGS
+ warn "\nPlease choose the features that match how libgd was built:\n";
+
+-my $JPEG = lc prompt('Build JPEG support?','y') eq 'y';
+-my $FT = lc prompt('Build FreeType support?','y') eq 'y';
+-my $XPM = $^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
++my $JPEG = 'GENTOO_JPEG'; #lc prompt('Build JPEG support?','y') eq 'y';
++my $FT = 'GENTOO_FREETYPE'; #lc prompt('Build FreeType support?','y') eq 'y';
++my $XPM = 'GENTOO_XPM'; #$^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
+
+ my $FCGI = 0; # set to 1 to build compatability with fastCGI
+