Ticket #31912: freetype.diff
File freetype.diff, 2.5 KB (added by takanori@…, 13 years ago) |
---|
-
files/patch-without_bytecode_interpreter.diff
1 --- devel/ftoption.h.orig 2011-07-20 13:46:00.000000000 +0900 2 +++ devel/ftoption.h 2011-11-05 22:04:00.000000000 +0900 3 @@ -555,7 +555,7 @@ 4 /* Do not #undef this macro here, since the build system might */ 5 /* define it for certain configurations only. */ 6 /* */ 7 -#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER 8 +/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ 9 10 11 /*************************************************************************/ 12 --- include/freetype/config/ftoption.h.orig 2011-07-20 13:46:15.000000000 +0900 13 +++ include/freetype/config/ftoption.h 2011-11-05 22:04:37.000000000 +0900 14 @@ -555,7 +555,7 @@ 15 /* Do not #undef this macro here, since the build system might */ 16 /* define it for certain configurations only. */ 17 /* */ 18 -#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER 19 +/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ 20 21 22 /*************************************************************************/ -
Portfile
7 7 8 8 name freetype 9 9 version 2.4.7 10 revision 1 10 11 categories print graphics 11 12 maintainers ryandesign 12 13 license {FreeType GPL-2} … … 55 56 archcheck.files lib/libz.dylib \ 56 57 lib/libbz2.dylib 57 58 59 post-patch { 60 if {![variant_isset bytecode]} { 61 patchfiles-append patch-without_bytecode_interpreter.diff 62 } 63 } 64 58 65 # See http://trac.macports.org/ticket/18232 59 66 configure.cppflags-delete -I${prefix}/include 60 67 configure.cppflags-append -isystem${prefix}/include … … 105 112 set merger_configure_env(x86_64) CC_BUILD=${configure.cc} 106 113 } 107 114 115 default_variants +bytecode 116 117 variant bytecode description {Enable support for a bytecode interpreter} {} 118 108 119 livecheck.type regex 109 120 livecheck.url ${homepage}index2.html 110 121 livecheck.regex {FreeType ([0-9.]+) has been released}