[144029] trunk/dports/science/ncarg/Portfile

takeshi at macports.org takeshi at macports.org
Wed Dec 30 04:44:03 PST 2015


Revision: 144029
          https://trac.macports.org/changeset/144029
Author:   takeshi at macports.org
Date:     2015-12-30 04:44:02 -0800 (Wed, 30 Dec 2015)
Log Message:
-----------
ncarg: use variants consistent with hdf5. allow C++ style comments, closing #501024

Modified Paths:
--------------
    trunk/dports/science/ncarg/Portfile

Modified: trunk/dports/science/ncarg/Portfile
===================================================================
--- trunk/dports/science/ncarg/Portfile	2015-12-30 06:59:02 UTC (rev 144028)
+++ trunk/dports/science/ncarg/Portfile	2015-12-30 12:44:02 UTC (rev 144029)
@@ -11,7 +11,7 @@
 
 name                        ncarg
 version                     6.3.0
-revision                    3
+revision                    4
 categories                  science
 platforms                   darwin
 maintainers                 takeshi openmaintainer
@@ -53,6 +53,7 @@
                             port:gdal       \
                             port:udunits2   \
                             port:vis5d      \
+                            port:hdf5       \
                             port:hdfeos     \
                             port:hdfeos5    \
                             port:wgrib2     \
@@ -68,10 +69,7 @@
 use_parallel_build          no
 universal_variant           no
 
-set v [mpi_active_variant_name port:hdf5]
-if {${v} != "" } { 
-    default_variants +${v}
-}
+mpi.enforce_variant         hdf5
 
 set usedap y
 
@@ -107,7 +105,7 @@
         reinplace "s|-lXext$|-lXext\\
 #define ArchRecLibSearch    ${configure.ldflags} \\
 #define ArchRecIncSearch    ${configure.cppflags} \\
-#define CcOptions -fPIC -ansi -D_DARWIN_C_SOURCE \\
+#define CcOptions -fPIC -D_DARWIN_C_SOURCE \\
 #define COptimizeFlag ${configure.cflags}\\
 #define FOptimizeFlag ${configure.fflags}\\
 #define ManRoot ${destroot}${prefix}/share/man\\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151230/3e35df7c/attachment-0001.html>


More information about the macports-changes mailing list