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

petr at macports.org petr at macports.org
Mon Nov 3 12:09:06 PST 2014


Revision: 127771
          https://trac.macports.org/changeset/127771
Author:   petr at macports.org
Date:     2014-11-03 12:09:06 -0800 (Mon, 03 Nov 2014)
Log Message:
-----------
gdal: temporary disable patch which breaks the port on case-insensitive filesystems, #45755.

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

Modified: trunk/dports/gis/gdal/Portfile
===================================================================
--- trunk/dports/gis/gdal/Portfile	2014-11-03 19:53:45 UTC (rev 127770)
+++ trunk/dports/gis/gdal/Portfile	2014-11-03 20:09:06 UTC (rev 127771)
@@ -5,7 +5,6 @@
 
 name                gdal
 version             1.11.1
-#revision            1
 categories          gis
 license             MIT BSD
 platforms           darwin
@@ -105,18 +104,21 @@
 
 # local cpl_port.h is masked by ${prefix} one
 
-post-extract {
-    file copy ${worksrcpath}/port/cpl_port.h ${worksrcpath}/port/Cpl_port.h
-    set files_to_patch [exec find ${worksrcpath} -type f -exec grep -l "cpl_port.h" \{\} \;]
-    foreach file ${files_to_patch} {
-        puts ${file}
-        reinplace -locale C "s|cpl_port.h|Cpl_port.h|" ${file}
-    }
-}
+# Fix disabled: does not work for case-insensitive filesystems, see #45755
+# Issue regarding including the wrong header files version, needs other solution
+#
+#post-extract {
+#    file copy ${worksrcpath}/port/cpl_port.h ${worksrcpath}/port/Cpl_port.h
+#    set files_to_patch [exec find ${worksrcpath} -type f -exec grep -l "cpl_port.h" \{\} \;]
+#    foreach file ${files_to_patch} {
+#        puts ${file}
+#        reinplace -locale C "s|cpl_port.h|Cpl_port.h|" ${file}
+#    }
+#}
 
-post-build {
-    file delete ${worksrcpath}/port/Cpl_port.h
-}
+#post-build {
+#    file delete ${worksrcpath}/port/Cpl_port.h
+#}
 
 # Patches for universal build
 post-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141103/02613d62/attachment.html>


More information about the macports-changes mailing list