1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

fix with freetype2

PR:		50890
Submitted by:	maintainer
This commit is contained in:
Ying-Chieh Liao 2003-05-09 06:50:05 +00:00
parent b7a8bb0bbd
commit 7b0f55cc14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80519

View File

@ -1,5 +1,5 @@
--- Makefile.PL.orig Wed Nov 27 08:29:57 2002
+++ Makefile.PL Thu Apr 3 01:35:53 2003
--- Makefile.PL.orig Wed Nov 27 16:29:57 2002
+++ Makefile.PL Sun Apr 13 02:25:57 2003
@@ -6,46 +6,23 @@
@ -55,7 +55,7 @@
my $FCGI = 0; # set to 1 to build compatability with fastCGI
@@ -61,16 +38,13 @@
@@ -61,16 +38,14 @@
push @INC, '-I/lib_root/ft2/include/freetype' if ($FT && $^O eq 'VMS');
push @INC, '-I/X11' if ($XPM && $^O eq 'VMS');
@ -70,8 +70,9 @@
-$DEFINES .= ' -DHAVE_JPEG' if $JPEG;
-$DEFINES .= ' -DHAVE_FT' if $FT;
-$DEFINES .= ' -DHAVE_XPM' if $XPM;
++my $DEFINES = '-DHAVE_JPEG -DHAVE_TTF';
++$DEFINES .= ' -DHAVE_XPM' unless $^O eq 'MSWin32';
+my $DEFINES = '-DHAVE_JPEG -DHAVE_TTF';
+$DEFINES .= ' -DHAVE_FT' if $FT;
+$DEFINES .= ' -DHAVE_XPM' unless $^O eq 'MSWin32';
$DEFINES .= ' -DFCGI' if $FCGI;
WriteMakefile(