[65739] trunk/dports/science/nco/Portfile
takeshi at macports.org
takeshi at macports.org
Tue Mar 30 17:26:55 PDT 2010
Revision: 65739
http://trac.macports.org/changeset/65739
Author: takeshi at macports.org
Date: 2010-03-30 17:26:53 -0700 (Tue, 30 Mar 2010)
Log Message:
-----------
nco: fixed finding of netcdf-devel headers and libs
Modified Paths:
--------------
trunk/dports/science/nco/Portfile
Modified: trunk/dports/science/nco/Portfile
===================================================================
--- trunk/dports/science/nco/Portfile 2010-03-31 00:09:19 UTC (rev 65738)
+++ trunk/dports/science/nco/Portfile 2010-03-31 00:26:53 UTC (rev 65739)
@@ -5,7 +5,7 @@
name nco
version 4.0.0
-revision 2
+revision 3
platforms darwin
maintainers takeshi
categories science
@@ -42,9 +42,13 @@
depends_run port:wget
configure.env HAVE_ANTLR=yes ANTLR_ROOT=${prefix} \
- NETCDF4_ROOT=${prefix}/lib/netcdf-devel \
PATH_TO_NCGEN=${prefix}/lib/netcdf-devel/bin/ncgen
-configure.cppflags -I/usr/include/malloc
+configure.cppflags-delete -I${prefix}/include
+configure.cppflags-append -I/usr/include/malloc \
+ -I${prefix}/lib/netcdf-devel/include \
+ -I${prefix}/include
+configure.ldflags-delete -L${prefix}/lib
+configure.ldflags-append -L${prefix}/lib/netcdf-devel/lib
configure.args --disable-dependency-tracking \
--mandir=${prefix}/share/man \
--enable-udunits --disable-udunits2 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100330/40d25766/attachment.html>
More information about the macports-changes
mailing list