[137995] trunk/dports/science

Ryan Schmidt ryandesign at macports.org
Wed Jun 24 18:29:35 PDT 2015


> On Jun 24, 2015, at 3:31 PM, takeshi at macports.org wrote:
> 
> Revision
> 137995
> Author
> takeshi at macports.org
> Date
> 2015-06-24 13:31:21 -0700 (Wed, 24 Jun 2015)
> Log Message
> 
> grib_api, libemos, magicspp: set CMAKE_INSTALL_NAME_DIR in grib_api, revbump ports that depends on grib_api

> --- trunk/dports/science/grib_api/Portfile	2015-06-24 18:50:08 UTC (rev 137994)
> +++ trunk/dports/science/grib_api/Portfile	2015-06-24 20:31:21 UTC (rev 137995)

> @@ -42,7 +43,8 @@
>  fetch.ignore_sslcert yes
>  cmake.out_of_source yes
>  
> -configure.args      -DENABLE_FORTRAN=OFF \
> +configure.args      -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
> +                    -DENABLE_FORTRAN=OFF \
>                      -DENABLE_NETCDF=ON \
>                      -DENABLE_PNG=ON \
>                      -DENABLE_PYTHON=OFF \

The cmake-1.0 portgroup sets CMAKE_INSTALL_NAME_DIR and other helpful configure.args for you. To take advantage of them, all you have to do is append to configure.args rather than overwrite it.




More information about the macports-dev mailing list