Ticket #48528: Portfile.diff

File Portfile.diff, 1.2 KB (added by howarth.at.macports@…, 9 years ago)

Portfile diff to use proposed gcc5 update that fixes gcj

  • Portfile

    old new  
    55
    66name                    pdftk
    77version                 2.02
     8revision                1
    89categories              textproc graphics pdf
    910maintainers             ryandesign
    1011platforms               darwin
     
    6970        ${destroot}${prefix}/share/man/man1
    7071}
    7172
    72 variant gcc45 conflicts gcc47 description {Build using gcc45} {
    73     configure.compiler  macports-gcc-4.5
    74     set versuff         -mp-4.5
    75 }
    76 
    77 variant gcc47 conflicts gcc45 description {Build using gcc47} {
    78     configure.compiler  macports-gcc-4.7
    79     set versuff         -mp-4.7
    80 }
     73configure.compiler  macports-gcc-5
     74set versuff         -mp-5
    8175
    82 if {![variant_isset gcc45] && ![variant_isset gcc47]} {
    83     default_variants    +gcc47
    84 }
    85 
    86 platform darwin {
    87     pre-fetch {
    88         if {${os.major} > 14} {
    89             ui_error "${subport} currently does not build on OS X 10.11 or greater."
    90             ui_error "See https://trac.macports.org/ticket/48528"
    91             return -code error "incompatible OS X version"
    92         }
    93     }
    94 }
    9576
    9677livecheck.type          regex
    9778livecheck.url           https://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos/