[MacPorts] #37812: pioneers has weird behavior contingent on configure.compiler

MacPorts noreply at macports.org
Mon Jan 28 00:52:41 PST 2013


#37812: pioneers has weird behavior contingent on configure.compiler
------------------------+----------------------
 Reporter:  jeremyhu@…  |      Owner:  snc@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.1.2
 Keywords:              |       Port:  pioneers
------------------------+----------------------
 The pioneers portfile has:
 {{{
 if {{$configure.compiler} != "gcc-4.2"} {
     patchfiles          patch-common-notifying-string.c.diff
 }
 ...
 post-configure {
     if {${configure.compiler} != "gcc-4.2"} {
         reinplace {s| -Wl,-z,relro -Wl,-z,now||} ${worksrcpath}/Makefile
         reinplace s|-Wl,--as-needed|| ${worksrcpath}/Makefile
     }
 }
 }}}

 It doesn't really make sense to me that this would be done only in cases
 where gcc-4.2 is not being used.  What's the rationale here?  We should
 probably be doing something different.

 Also, the first patch should just always be applied.

-- 
Ticket URL: <https://trac.macports.org/ticket/37812>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list