[MacPorts] #34275: pdftk should not depend on gcc42
MacPorts
noreply at macports.org
Fri Sep 14 11:23:53 PDT 2012
#34275: pdftk should not depend on gcc42
------------------------+--------------------------
Reporter: jharmon@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Resolution: | Keywords:
Port: pdftk |
------------------------+--------------------------
Comment (by jeremyhu@…):
Ok, well what about this then:
{{{
Index: Portfile
===================================================================
--- Portfile (revision 97759)
+++ Portfile (working copy)
@@ -81,36 +81,22 @@
${destroot}${prefix}/share/man/man1
}
-variant gcc42 conflicts gcc45 gcc47 description {Build using gcc42} {
- patchfiles-append patch-gcj-4.2-and-older.diff
- configure.compiler macports-gcc-4.2
- depends_build-append port:fastjar
- depends_lib-append port:gcc42
- set versuff -mp-4.2
-}
-
-variant gcc45 conflicts gcc42 gcc47 description {Build using gcc45} {
+variant gcc45 conflicts gcc47 description {Build using gcc45} {
configure.compiler macports-gcc-4.5
depends_lib-append port:gcc45
set versuff -mp-4.5
}
-variant gcc47 conflicts gcc42 gcc45 description {Build using gcc47} {
+variant gcc47 conflicts gcc45 description {Build using gcc47} {
configure.compiler macports-gcc-4.7
depends_lib-append port:gcc47
set versuff -mp-4.7
}
-if {![variant_isset gcc42] && ![variant_isset gcc45] && ![variant_isset
gcc47]} {
- if {${os.platform} == "darwin"} {
- if {${os.major} < 10} {
- default_variants +gcc42
- } elseif {${os.major} < 11} {
- default_variants +gcc45
- } else {
- default_variants +gcc47
- }
+if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset
gcc45] && ![variant_isset gcc47]} {
+ if {${os.platform} == "darwin" && ${os.major} < 11} {
+ default_variants +gcc45
} else {
- default_variants +gcc45
+ default_variants +gcc47
}
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/34275#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list