[MacPorts] #34731: policykit @0.103_1 build fails with perl5 +perl5_14

MacPorts noreply at macports.org
Thu Jul 5 18:32:20 PDT 2012


#34731: policykit @0.103_1 build fails with perl5 +perl5_14
------------------------------------------+---------------------------------
 Reporter:  md14-macports@…               |       Owner:  devans@…           
     Type:  defect                        |      Status:  new                
 Priority:  Normal                        |   Milestone:                     
Component:  ports                         |     Version:  2.1.1              
 Keywords:  haspatch                      |        Port:  policykit          
------------------------------------------+---------------------------------

Comment(by ryandesign@…):

 Does policykit itself use XML::Parser at build time or runtime, or did you
 only add the dependency because it gets used indirectly at build time via
 intltool?

 If policykit itself needs XML::Parser, then you're right to add a
 dependency, but we should never add dependencies on stub ports—meaning, a
 port that is replaced_by another port. (p5-xml-parser and all other p5-
 ports are stub ports.) Instead we should add the dependency on a specific
 perl version of the module, such as p5.12-xml-parser, and then instruct
 policykit to always use the "perl5.12" program and never the "perl"
 program.

 policykit is not a perl module, so it should not use the perl5 portgroup.

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


More information about the macports-tickets mailing list