[MacPorts] #34317: pkg-config info of netcdf-fortran is incorrect

MacPorts noreply at macports.org
Thu May 3 06:39:50 PDT 2012


#34317: pkg-config info of netcdf-fortran is incorrect
-------------------------------+--------------------------------------------
 Reporter:  f.baart@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:  MacPorts 2.1.0                       
Component:  ports              |     Version:  2.0.4                                
 Keywords:                     |        Port:  netcdf-fortran                       
-------------------------------+--------------------------------------------
 The information provided by pkg-config about netcdf-fortran is incorrect.
 After installing netcdf-fortran 4.2 the pkg-config info returns the
 following:

 {{{
 $ pkg-config --libs netcdf-fortran
 -L/usr/local/lib -lnetcdf
 }}}

 The {{{-L/usr/local/lib}}} should be {{{-L/opt/local/lib}}}.  The file
 that contains the incorrect information is {{{/opt/local/lib/pkgconfig
 /netcdf-fortran.pc}}}.
 The prefix variable in that line should be fixed. I am not sure yet if the
 problem is in the port or in the source.

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


More information about the macports-tickets mailing list