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

vince at macports.org vince at macports.org
Fri May 6 00:20:10 PDT 2016


Revision: 148372
          https://trac.macports.org/changeset/148372
Author:   vince at macports.org
Date:     2016-05-06 00:20:10 -0700 (Fri, 06 May 2016)
Log Message:
-----------
gdal: add a dependency to qhull

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

Modified: trunk/dports/gis/gdal/Portfile
===================================================================
--- trunk/dports/gis/gdal/Portfile	2016-05-05 19:46:15 UTC (rev 148371)
+++ trunk/dports/gis/gdal/Portfile	2016-05-06 07:20:10 UTC (rev 148372)
@@ -7,7 +7,7 @@
 
 name                gdal
 version             2.1.0
-#revision            1
+revision            1
 categories          gis
 license             MIT BSD
 platforms           darwin
@@ -41,7 +41,8 @@
                     port:libgeotiff \
                     port:jpeg \
                     port:giflib \
-                    port:proj
+                    port:proj \
+                    port:qhull
 
 set PYINST          ""
 set OPENCLBASE      "/System/Library/Frameworks/OpenCL.framework/"
@@ -56,6 +57,7 @@
                     --with-jpeg=${prefix}\
                     --with-gif=${prefix} \
                     --with-static-proj4=${prefix} \
+                    --with-qhull=yes \
                     --without-pg \
                     --without-grass \
                     --without-libgrass \
@@ -356,7 +358,8 @@
         }
 
         reinplace -E "s|(GEOS_CFLAGS.*=).*|\\1|" ${w}/GDALmake.opt
-        reinplace -E "s|^CPPFLAGS.*|CPPFLAGS = -I\$(GDAL_ROOT)/port -I${prefix} -I${prefix}/include|" ${w}/GDALmake.opt
+        reinplace -E "s|^CPPFLAGS.*|CPPFLAGS = -I\$(GDAL_ROOT)/port -I${prefix} -I${prefix}/include\
+                           -I${prefix}/include/libqhull|" ${w}/GDALmake.opt
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160506/84fe193a/attachment.html>


More information about the macports-changes mailing list