[MacPorts] #21583: libxml2 2.7.4 +universal. Pkg-config error

MacPorts noreply at macports.org
Wed Sep 23 15:32:12 PDT 2009


#21583: libxml2 2.7.4 +universal. Pkg-config error
---------------------------------+------------------------------------------
 Reporter:  huw@…                |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.0                                
 Keywords:                       |        Port:  libxml2                              
---------------------------------+------------------------------------------
 pkg-config --libs libxml-2.0
 displays "Libs.private field occurs twice in
 '/opt/local/lib/pkgconfig/libxml-2.0.pc'" with the universal variant of
 libxml2 installed on Snow Leopard.

 The libxml-2.0.pc file contains:

 #ifndef __LP64__
 Libs.private: -lpthread   -liconv -lm
 #else /* __LP64__ */
 Libs.private: -lpthread -lz  -liconv -lm
 #endif /* __LP64__ */

 and the preprocessor directives are evidently confusing pkg-config.

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


More information about the macports-tickets mailing list