[MacPorts] #34317: pkg-config info of netcdf-fortran is incorrect
#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
#34317: netcdf-fortran: incorrect pkg-config info -------------------------------+-------------------------------------------- Reporter: f.baart@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: netcdf-fortran -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => takeshi@… * milestone: MacPorts 2.1.0 => Comment: The problem is the netcdf-fortran software; the MacPorts Portfile doesn't currently do anything regarding the .pc file. We can of course work around the problem in MacPorts until upstream fixes the problem. -- Ticket URL: <https://trac.macports.org/ticket/34317#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34317: netcdf-fortran: incorrect pkg-config info -------------------------------+-------------------------------------------- Reporter: f.baart@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: netcdf-fortran -------------------------------+-------------------------------------------- Comment(by f.baart@…): I found the source of the problem in the original {{netcdf-fortran.pc.in file}}. I'll file a bug report at unidata. -- Ticket URL: <https://trac.macports.org/ticket/34317#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34317: netcdf-fortran: incorrect pkg-config info -------------------------------+-------------------------------------------- Reporter: f.baart@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: netcdf-fortran -------------------------------+-------------------------------------------- Comment(by f.baart@…): I got word from unidata. This will be fixed in the next release. If you want to patch it in the meantime, the {{{netcdf-fortran.pc.in}}} file should have {{{prefix=@prefix@}}} as a first line. -- Ticket URL: <https://trac.macports.org/ticket/34317#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34317: netcdf-fortran: incorrect pkg-config info --------------------------------+------------------------------------------- Reporter: f.baart@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: netcdf-fortran | --------------------------------+------------------------------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: committed in r92683 and r92684. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/34317#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts