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

vince at macports.org vince at macports.org
Tue Nov 4 10:51:49 PST 2014


Revision: 127822
          https://trac.macports.org/changeset/127822
Author:   vince at macports.org
Date:     2014-11-04 10:51:49 -0800 (Tue, 04 Nov 2014)
Log Message:
-----------
gdal: ditch unnecessary and poorly written bugfix code in Portfile (sorry about this).

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

Modified: trunk/dports/gis/gdal/Portfile
===================================================================
--- trunk/dports/gis/gdal/Portfile	2014-11-04 18:10:33 UTC (rev 127821)
+++ trunk/dports/gis/gdal/Portfile	2014-11-04 18:51:49 UTC (rev 127822)
@@ -103,26 +103,6 @@
                     patch-pdfcreatecopy_h.diff \
                     patch-pdfcreatecopy_cpp.diff
 
-# local cpl_port.h is masked by ${prefix} one
-
-post-extract {
-    file copy -force ${worksrcpath}/port/cpl_port.h ${worksrcpath}/port/lcpl_port.h
-    set files_to_patch [exec find ${worksrcpath} -type f -exec grep -l "cpl_port.h" \{\} \;]
-    foreach file ${files_to_patch} {
-        reinplace -locale C "s|cpl_port.h|lcpl_port.h|" ${file}
-    }
-}
-
-# Undo after build (otherwise the headers files installed are corrupt)
-
-post-build {
-    file delete ${worksrcpath}/port/lcpl_port.h
-    set files_to_patch [exec find ${worksrcpath} -name "*.h" -exec grep -l "lcpl_port.h" \{\} \;]
-    foreach file ${files_to_patch} {
-        reinplace -locale C "s|lcpl_port.h|cpl_port.h|" ${file}
-    }
-}
-
 # Patches for universal build
 post-configure {
     reinplace -E "s|(INST_PYMOD).*|\\1\t=\t${PYINST}|" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141104/7a91e73c/attachment.html>


More information about the macports-changes mailing list