Ticket #21599: agg_without_gui_samples.patch

File agg_without_gui_samples.patch, 1.6 KB (added by dbsgeo@…, 15 years ago)
  • Portfile

     
    3030                    sha1 08f23da64da40b90184a0414369f450115cdb328 \
    3131                    rmd160 fac24d8ea56ee0a87307189f73c432b07b6d3c50
    3232
    33 depends_lib         port:freetype port:xorg-libX11
    34 archcheck.files     lib/libfreetype.dylib lib/libX11.dylib
     33depends_lib         port:freetype
     34archcheck.files     lib/libfreetype.dylib
    3535depends_build       port:pkgconfig
    3636
    3737# These patchfiles hack out sdl support, it can't be done with a
     
    4141}
    4242
    4343# Force 32-bit build because it uses Carbon
    44 universal_variant   no
    45 if {[info exists supported_archs]} {
    46     supported_archs i386 ppc
    47 }
    48 switch ${configure.build_arch} {
    49     x86_64 {
    50         configure.build_arch i386
    51     }
    52     ppc64 {
    53         configure.build_arch ppc
    54     }
    55 }
     44universal_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#}
    5656
    5757use_autoreconf        yes
    5858autoreconf.args       -fvi
    5959autoreconf.env        AUTOMAKE="automake --foreign --add-missing --ignore-deps"
    6060
    6161configure.cxxflags       "-I${prefix}/include"
    62 configure.args --x-include=${prefix}/include --x-lib=${prefix}/lib
     62configure.args --enable-examples=no --enable-platform=no --enable-ctrl=no
    6363
    6464variant sdl description {Add SDL support} {
    6565    depends_lib-append  path:lib/pkgconfig/sdl.pc:libsdl