Ticket #55866: libxml2.patch

File libxml2.patch, 1.3 KB (added by bpanulla (Brian Panulla), 7 years ago)

Patch to re-activate libxml2 support in a variant.

  • gis/mapnik/Portfile

    diff -r 6466fd17a6f3 -r c459ce55ffbd gis/mapnik/Portfile
    a b  
    66
    77name                mapnik
    88version             3.0.12
    9 revision            2
     9revision            3
    1010categories          gis devel
    1111platforms           darwin
    1212license             LGPL-2.1
     
    6565    lappend input_plugins gdal ogr
    6666}
    6767
     68variant libxml2 description {Enable libxml2 support for includes and entities} {
     69    depends_lib-append      port:libxml2
     70    configure.args-append   XML2_CONFIG=${prefix}/bin/xml2-config XMLPARSER=libxml2
     71}
     72
    6873variant postgis description {Build PostGIS plugin} {
    6974    depends_lib-append      path:lib/libpq.dylib:postgresql94
    7075    if {![file exists ${prefix}/lib/libpq.dylib]} {
     
    101106                    CPP_TESTS=False \
    102107                    BINDINGS=none \
    103108                    JOBS=${build.jobs} \
    104                     FREETYPE_CONFIG=${prefix}/bin/freetype-config \
    105                     XML2_CONFIG=${prefix}/bin/xml2-config
     109                    FREETYPE_CONFIG=${prefix}/bin/freetype-config
    106110
    107111foreach lib {BOOST ICU PNG JPEG TIFF PROJ CAIRO SQLITE} {
    108112    configure.args-append   ${lib}_INCLUDES=${prefix}/include