[MacPorts] #40290: wxgtk-2.8: wx-config contains -arch flags

MacPorts noreply at macports.org
Fri Aug 30 00:09:05 PDT 2013


#40290: wxgtk-2.8: wx-config contains -arch flags
---------------------------+---------------------
  Reporter:  ryandesign@…  |      Owner:  mojca@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.0
Resolution:                |   Keywords:
      Port:  wxgtk-2.8     |
---------------------------+---------------------

Comment (by mojca@…):

 The {{{wx-config}}} seems to contain:
 {{{
 echo $_ldflags " -arch x86_64 -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch x86_64   -L/opt/local/lib
 -framework IOKit -framework CoreServices -framework System -framework
 ApplicationServices " $_rpath $wx_libs ""
 }}}
 and the source for it is:
 {{{
 echo $_ldflags "@LDFLAGS@" $_rpath $wx_libs "@DMALLOC_LIBS@"
 }}}
 I don't think I see a straight solution to modify sources in such a way
 that they would produce the right output, so I probably need to modify wx-
 config with a {{{reinplace}}} change in the post-build step?

 I need to learn how regular expressions work in Tcl, but if you have it at
 your fingertips, I would be grateful for hints. I probably need a global
 replacement (that can be applied multiple times in a line) for something
 like
 {{{
 echo $_ldflags "<anything but newline>(-arch<space>*([letter|number|_]*))
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/40290#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list