Ticket #21599: agg_without_gui_samples.patch
File agg_without_gui_samples.patch, 1.6 KB (added by dbsgeo@…, 15 years ago) |
---|
-
Portfile
30 30 sha1 08f23da64da40b90184a0414369f450115cdb328 \ 31 31 rmd160 fac24d8ea56ee0a87307189f73c432b07b6d3c50 32 32 33 depends_lib port:freetype port:xorg-libX1134 archcheck.files lib/libfreetype.dylib lib/libX11.dylib33 depends_lib port:freetype 34 archcheck.files lib/libfreetype.dylib 35 35 depends_build port:pkgconfig 36 36 37 37 # These patchfiles hack out sdl support, it can't be done with a … … 41 41 } 42 42 43 43 # Force 32-bit build because it uses Carbon 44 universal_variant no45 if {[info exists supported_archs]} {46 supported_archs i386 ppc 47 }48 switch ${configure.build_arch} {49 x86_64 {50 configure.build_arch i38651 }52 ppc64 {53 configure.build_arch ppc54 }55 }44 universal_variant yes 45 #if {[info exists supported_archs]} { 46 # supported_archs i386 ppc x86_64 47 #} 48 #switch ${configure.build_arch} { 49 # x86_64 { 50 # configure.build_arch i386 51 # } 52 # ppc64 { 53 # configure.build_arch ppc 54 # } 55 #} 56 56 57 57 use_autoreconf yes 58 58 autoreconf.args -fvi 59 59 autoreconf.env AUTOMAKE="automake --foreign --add-missing --ignore-deps" 60 60 61 61 configure.cxxflags "-I${prefix}/include" 62 configure.args -- x-include=${prefix}/include --x-lib=${prefix}/lib62 configure.args --enable-examples=no --enable-platform=no --enable-ctrl=no 63 63 64 64 variant sdl description {Add SDL support} { 65 65 depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl