Ticket #47025: poppler-0.33-qt5-mac.diff

File poppler-0.33-qt5-mac.diff, 810 bytes (added by dbevans (David B. Evans), 9 years ago)

Revised patch to add poppler-qt5-mac to poppler 0.33

  • Portfile

     
    6666
    6767# TODO:
    6868# add subport poppler-qt4-x11 when qt4-x11 builds and port group qt4 allows
    69 # add subport poppler-qt5-mac when various qt5 build issues are resolved (#47025)
    7069
    7170subport poppler-qt4-mac {
    7271    PortGroup qt4 1.0
    7372
     73    configure.env-append    "MOCQT4=${qt_bins_dir}/moc"
    7474    configure.args-delete   --disable-poppler-qt4
    7575}
    7676
     77subport poppler-qt5-mac {
     78    PortGroup qt5 1.0
     79
     80    configure.env-append    "PKG_CONFIG_PATH=${qt_libs_dir}/pkgconfig" \
     81                            "MOCQT5=${qt_bins_dir}/moc"
     82    configure.args-delete   --disable-poppler-qt5
     83}
     84
    7785if {${subport} ne ${name}} {
    7886    depends_extract-append  port:git
    7987