Ticket #48528: Portfile.diff
File Portfile.diff, 1.2 KB (added by howarth.at.macports@…, 9 years ago) |
---|
-
Portfile
old new 5 5 6 6 name pdftk 7 7 version 2.02 8 revision 1 8 9 categories textproc graphics pdf 9 10 maintainers ryandesign 10 11 platforms darwin … … 69 70 ${destroot}${prefix}/share/man/man1 70 71 } 71 72 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 } 73 configure.compiler macports-gcc-5 74 set versuff -mp-5 81 75 82 if {![variant_isset gcc45] && ![variant_isset gcc47]} {83 default_variants +gcc4784 }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 }95 76 96 77 livecheck.type regex 97 78 livecheck.url https://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos/