Ticket #54808: patch-Portfile.diff

File patch-Portfile.diff, 972 bytes (added by NicosPavlov, 6 years ago)

Patch to deactivate subport poppler-qt4-mac

  • graphics/poppler/Portfile

    diff --git a/graphics/poppler/Portfile b/graphics/poppler/Portfile
    index 4be7231854..1441459347 100644
    a b PortGroup cmake 1.1 
    99name                poppler
    1010conflicts           xpdf-tools
    1111version             0.65.0
     12revision            1
    1213license             GPL-2+
    1314maintainers         {devans @dbevans} openmaintainer
    1415categories          graphics
    configure.args-append \ 
    5859                    -DBUILD_CPP_TESTS=OFF \
    5960                    -DWITH_NSS3=OFF
    6061
     62pre-activate {
     63    #Deactivate hack for poppler-qt4-mac which has been deprecated in poppler 0.65
     64    if {[file exists ${prefix}/lib/libpoppler-qt4.dylib]} {
     65        registry_deactivate_composite poppler-qt4-mac "" [list ports_nodepcheck 1]
     66    }
     67}
     68
     69subport poppler-qt4-mac {
     70    PortGroup obsolete 1.0
     71    #Subport made obsolete on 18.06.19
     72}
     73
    6174subport poppler-qt5 {
    6275    PortGroup qt5 1.0
    6376