bb0ddae530
p5-Apache-MP3 => 2.16 p5-Convert-UUlib => 0.111 p5-Email-Find => 0.03 p5-GD => 1.33 p5-HTML-Parser => 3.24 p5-I18N-Charset => 1.08 p5-I18N-LangTags => 0.20 p5-MIME-Lite => 2.111 p5-Set-Scalar => 1.09 p5-Sort-ArbBiLex => 3.4 p5-URI => 1.12 p5-Unix-Syslog => 0.95 and change MAINTAINER to ports@FreeBSD.org: p5-Convert-UUlib p5-Unix-Syslog Approved by: maintainer
48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
--- Makefile.PL.orig Sat Aug 5 04:59:22 2000
|
|
+++ Makefile.PL Thu May 10 06:36:36 2001
|
|
@@ -3,38 +3,17 @@
|
|
warn "NOTICE: This module requires libgd 1.8.3 or higher (shared library version 4.X).\n";
|
|
|
|
# =====> PATHS: CHECK AND ADJUST <=====
|
|
-my @INC = qw(-I/usr/local/include -I/usr/local/include/gd);
|
|
-my @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib );
|
|
-my @LIBS = qw(-lgd -lpng -lz);
|
|
-
|
|
-# 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 $TTF = lc prompt('Build FreeType support?','y') eq 'y';
|
|
-my $XPM = $^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
|
|
+my @INC = 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 @LIBPATH = qw(-L/usr/local/lib -L/usr/X11R6/lib);
|
|
+my @LIBS = qw(-lfreetype -ljpeg -lgd -lpng -lz);
|
|
|
|
my $FCGI = 0; # set to 1 to build compatability with fastCGI
|
|
|
|
-warn "\nIf you experience compile problems, please check the \@INC, \@LIBPATH and \@LIBS\n",
|
|
- "arrays defined in Makefile.PL and manually adjust, if necessary.\n\n";
|
|
-
|
|
-#### no user-serviceable parts below #####
|
|
-
|
|
-push @LIBS,'-lttf' if $TTF;
|
|
-push @LIBS,'-ljpeg' if $JPEG;
|
|
-push @LIBS, '-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 @LIBS,'-lX11','-lXpm' if $XPM;
|
|
-}
|
|
+push @LIBS,'-lX11','-lXpm' unless $^O eq 'MSWin32';
|
|
|
|
my $CAPI = defined $ExtUtils::MakeMaker::CAPI_support ? 'TRUE' : 'FALSE';
|
|
-my $DEFINES = '';
|
|
-$DEFINES .= ' -DHAVE_JPEG' if $JPEG;
|
|
-$DEFINES .= ' -DHAVE_TTF' if $TTF;
|
|
-$DEFINES .= ' -DHAVE_XPM' if $XPM;
|
|
+my $DEFINES = '-DHAVE_JPEG -DHAVE_FREETYPE';
|
|
+$DEFINES .= ' -DHAVE_XPM' unless $^O eq 'MSWin32';
|
|
$DEFINES .= ' -DFCGI' if $FCGI;
|
|
|
|
WriteMakefile(
|