diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2002-04-30 19:44:34 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2002-04-30 19:44:34 +0000 |
commit | 9a4229b4e8b8e09e17a7319c68c20845e032f7ee (patch) | |
tree | 3e24576820da2a4f9b3478e8dd06b854038e9419 /graphics/p5-GD/files | |
parent | d51df2d2c56ac56a71d5bd45669f29350f33aec3 (diff) | |
download | ports-9a4229b4e8b8e09e17a7319c68c20845e032f7ee.tar.gz ports-9a4229b4e8b8e09e17a7319c68c20845e032f7ee.zip |
Notes
Diffstat (limited to 'graphics/p5-GD/files')
-rw-r--r-- | graphics/p5-GD/files/patch-aa | 12 | ||||
-rw-r--r-- | graphics/p5-GD/files/patch-ab | 11 |
2 files changed, 7 insertions, 16 deletions
diff --git a/graphics/p5-GD/files/patch-aa b/graphics/p5-GD/files/patch-aa index 5a406c8e41d6..ebc0ff9f427a 100644 --- a/graphics/p5-GD/files/patch-aa +++ b/graphics/p5-GD/files/patch-aa @@ -1,7 +1,7 @@ --- 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"; +@@ -3,40 +3,17 @@ + warn "NOTICE: This module requires libgd 1.8.4 or higher (shared library version 4.X).\n"; # =====> PATHS: CHECK AND ADJUST <===== -my @INC = qw(-I/usr/local/include -I/usr/local/include/gd); @@ -14,6 +14,7 @@ -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 $GIF = lc prompt('Build GIF support (for patched versions of gd)?','n') 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); @@ -25,9 +26,9 @@ - -#### no user-serviceable parts below ##### - --push @LIBS,'-lttf' if $TTF; +-push @LIBS,'-lfreetype' if $TTF; -push @LIBS,'-ljpeg' if $JPEG; --push @LIBS, '-lm' unless $^O eq 'MSWin32'; +-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') { @@ -40,7 +41,8 @@ -$DEFINES .= ' -DHAVE_JPEG' if $JPEG; -$DEFINES .= ' -DHAVE_TTF' if $TTF; -$DEFINES .= ' -DHAVE_XPM' if $XPM; -+my $DEFINES = '-DHAVE_JPEG -DHAVE_FREETYPE'; +-$DEFINES .= ' -DHAVE_GIF' if $GIF; ++my $DEFINES = '-DHAVE_JPEG -DHAVE_TTF'; +$DEFINES .= ' -DHAVE_XPM' unless $^O eq 'MSWin32'; $DEFINES .= ' -DFCGI' if $FCGI; diff --git a/graphics/p5-GD/files/patch-ab b/graphics/p5-GD/files/patch-ab deleted file mode 100644 index 74379f65316f..000000000000 --- a/graphics/p5-GD/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- GD.xs.orig Thu Aug 24 18:41:47 2000 -+++ GD.xs Mon Mar 19 12:45:05 2001 -@@ -1278,7 +1278,7 @@ - img = NULL; - } - -- err = gdImageStringTTF(img,brect,fgcolor,fontname,ptsize,angle,x,y,string); -+ err = gdImageStringFT(img,brect,fgcolor,fontname,ptsize,angle,x,y,string); - if (err) { - errormsg = perl_get_sv("@",0); - if (errormsg != NULL) |