[MacPorts] #39205: py27-yaml links with libyaml even if the libyaml variant is not selected

MacPorts noreply at macports.org
Sun May 26 03:06:59 PDT 2013


#39205: py27-yaml links with libyaml even if the libyaml variant is not selected
---------------------------+---------------------
  Reporter:  ryandesign@…  |      Owner:  deric@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  py-yaml       |
---------------------------+---------------------

Comment (by deric@…):

 I've investigated this by installing py27-yaml with libyaml not installed,
 and then installing libyaml specifically before I installed py27-yaml to
 see if there was some kind of opportunistic linking going on.  But I can
 only get it to link against libyaml if I add the +libyaml variant.

 As for if the variant should even exist, I'm not sure. It's an optional
 dependency and as such I usually like to have them turned off unless
 requested.

 In any case, when the libyaml dependency is included it should have the
 right supported_archs flag, would updating the Portfile with "i386 ppc
 ppc64 x86_64" for supported_archs when linking against libyaml be ok? I'm
 currently limited to a rMBP to actually test it on.

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


More information about the macports-tickets mailing list