Ticket #47025: poppler-0.32-qt5-mac.2.diff

File poppler-0.32-qt5-mac.2.diff, 802 bytes (added by dbevans (David B. Evans), 10 years ago)

Proposed patch as revised by devans after commit of poppler 0.32.0 without poppler-qt5-mac

  • 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    conflicts poppler-qt5-mac
     74
     75    configure.env-append    MOCQT4=${qt_bins_dir}/moc
    7476    configure.args-delete   --disable-poppler-qt4
    7577}
    7678
     79subport poppler-qt5-mac {
     80    PortGroup qt5 1.0
     81
     82    conflicts poppler-qt4-mac
     83   
     84    configure.env-append    MOCQT5=${qt_bins_dir}/moc
     85    configure.args-delete   --disable-poppler-qt5
     86}
     87
    7788if {${subport} ne ${name}} {
    7889    depends_build-append    port:git
    7990