Ignore:
Timestamp:
Mar 30, 2004, 4:22:08 PM (16 years ago)
Author:
toby
Message:

Fix compilation with new freetype header structure.

Location:
trunk/dports/graphics/gd2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/gd2/Portfile

    r4474 r6113  
    2626platform darwin 6 { depends_lib     lib:libdl:dlcompat  }
    2727
    28 patchfiles      patch-configure
     28patchfiles      patch-configure patch-gdft.c
    2929post-configure {        reinplace "s|CPPFLAGS = |CPPFLAGS = -I${prefix}/include |g" Makefile
    3030                        reinplace "s|LDFLAGS = |LDFLAGS =  -L${prefix}/lib |g" Makefile }
  • trunk/dports/graphics/gd2/files/patch-configure

    r2757 r6113  
    1 --- configure.old       Fri Jun  6 11:56:09 2003
    2 +++ configure   Fri Jun  6 12:07:50 2003
     1--- configure.orig      Tue Mar 30 11:15:56 2004
     2+++ configure   Tue Mar 30 11:16:24 2004
    33@@ -5880,7 +5880,7 @@
    44     #        cross-compilation, but unfortunately the echo tests do not
     
    1010     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
    1111     hardcode_direct=yes
     12@@ -10518,7 +10518,8 @@
     13 cat confdefs.h >>conftest.$ac_ext
     14 cat >>conftest.$ac_ext <<_ACEOF
     15 /* end confdefs.h.  */
     16-#include <freetype/freetype.h>
     17+#include <ft2build.h>
     18+#include FT_FREETYPE_H
     19 
     20 _ACEOF
     21 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Note: See TracChangeset for help on using the changeset viewer.