[MacPorts] #36438: ports which mirror system libraries can cause +universal ports to fail if they are -universal
MacPorts
noreply at macports.org
Sat May 11 10:59:45 PDT 2013
#36438: ports which mirror system libraries can cause +universal ports to fail if
they are -universal
----------------------------+------------------------
Reporter: ahelfer1971@… | Owner: jeremyhu@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: ld64 |
----------------------------+------------------------
Comment (by jeremyhu@…):
Replying to [comment:53 egall@…]:
> Actually I just came up with another idea: would throwing something like
the following into perl5's universal variant work?
> {{{
> if {![catch "registry_active libstdcxx"]} {
> depends_lib-append path:lib/.libstdcxx:libstdcxx
> require_active_variants path:lib/.libstdcxx:libstdcxx universal
> }
> }}}
> This is with including the `active_variants 1.1` port group somewhere
earlier in the portfile of course. Also I'm adding the dependency on
libstdcxx because I'm assuming that `require_active_variants` only works
with ports that are already in a port's dependency list.
No. perl doesn't even use the libstdcxx port, so it should not be a
dependency.
--
Ticket URL: <https://trac.macports.org/ticket/36438#comment:55>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list