[67959] trunk/dports/science/netcdf-devel/Portfile

takeshi at macports.org takeshi at macports.org
Sat May 22 14:36:20 PDT 2010


Revision: 67959
          http://trac.macports.org/changeset/67959
Author:   takeshi at macports.org
Date:     2010-05-22 14:36:15 -0700 (Sat, 22 May 2010)
Log Message:
-----------
netcdf-devel: patched configure to make nc-config give an appropriate list of required libraries. enabled hdf4

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

Modified: trunk/dports/science/netcdf-devel/Portfile
===================================================================
--- trunk/dports/science/netcdf-devel/Portfile	2010-05-22 21:16:29 UTC (rev 67958)
+++ trunk/dports/science/netcdf-devel/Portfile	2010-05-22 21:36:15 UTC (rev 67959)
@@ -6,6 +6,7 @@
 name                        netcdf-devel
 epoch                       1
 version                     4.1.1
+revision                    1
 maintainers                 takeshi openmaintainer
 platforms                   darwin
 categories                  science
@@ -29,6 +30,7 @@
                             rmd160  89b6e1a2115ef348ac83166aa7a50e045fbd98e2
 
 patch {
+    reinplace {s|enable_shared\" !|enable_shared\" |} ${worksrcpath}/configure
     reinplace {/^AM_CPPFLAGS/s/\(\$(am__append_5)\) \(\$(am__append_7)\)/\2 \1/} ${worksrcpath}/ncdump/Makefile.in
 }
 
@@ -42,7 +44,9 @@
                             --enable-netcdf-4 \
                             --with-hdf5=${prefix} \
                             --with-szlib=${prefix} \
+                            --enable-hdf4 \
                             --with-hdf4=${prefix} \
+                            --disable-hdf4-file-tests \
                             --with-libcf \
                             --enable-dap \
                             --without-udunits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100522/1425b195/attachment.html>


More information about the macports-changes mailing list