[59162] trunk/dports/science/netcdf/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Oct 10 16:45:51 PDT 2009


On Oct 10, 2009, at 14:54, adfernandes at macports.org wrote:

> Modified Paths:
> --------------
>    trunk/dports/science/netcdf/Portfile

> +    configure.env-append    LDFLAGS=-L${prefix}/lib LIBS=-lhdf5

Note that you don't need to manually put LDFLAGS=-L${prefix}/lib into  
the configure environment. MacPorts automatically does this for you.  
If you ever need to change the LDFLAGS, you can do so by setting the  
variable configure.ldflags.



More information about the macports-dev mailing list