[138791] trunk/dports/gis/gdal/Portfile

vince at macports.org vince at macports.org
Sun Jul 19 05:42:50 PDT 2015


Revision: 138791
          https://trac.macports.org/changeset/138791
Author:   vince at macports.org
Date:     2015-07-19 05:42:50 -0700 (Sun, 19 Jul 2015)
Log Message:
-----------
gdal: ensure -DGDAL_COMPILATION is passed in all cases.

Modified Paths:
--------------
    trunk/dports/gis/gdal/Portfile

Modified: trunk/dports/gis/gdal/Portfile
===================================================================
--- trunk/dports/gis/gdal/Portfile	2015-07-19 12:23:23 UTC (rev 138790)
+++ trunk/dports/gis/gdal/Portfile	2015-07-19 12:42:50 UTC (rev 138791)
@@ -306,17 +306,14 @@
     configure.args-append   --with-opencl-lib='-framework OpenCL'
 }
 
-# OS X Framework
-variant framework description {Build as a Mac OS X framework} {
-    configure.args-append   --with-macosx-framework
-}
+configure.optflags  -DGDAL_COMPILATION
 
 # Perf variant to optimize code
 variant perf description {Optimize for speed} {
-    configure.cflags        -O3 -pipe -march=native -DGDAL_COMPILATION
-    configure.cxxflags      -O3 -pipe -march=native -DGDAL_COMPILATION
+    configure.optflags      -O3 -pipe -march=native -DGDAL_COMPILATION
 }
 
+
 default_variants    +expat
 
 # Postconfigure hack to avoid read ${include} .h files before
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150719/fba5e402/attachment.html>


More information about the macports-changes mailing list