[76566] trunk/dports/gis/gdal-grass/Portfile

vince at macports.org vince at macports.org
Mon Feb 28 04:15:26 PST 2011


Revision: 76566
          http://trac.macports.org/changeset/76566
Author:   vince at macports.org
Date:     2011-02-28 04:15:22 -0800 (Mon, 28 Feb 2011)
Log Message:
-----------
Fixes a wrong scope in the post-configure phase.

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

Modified: trunk/dports/gis/gdal-grass/Portfile
===================================================================
--- trunk/dports/gis/gdal-grass/Portfile	2011-02-28 11:51:06 UTC (rev 76565)
+++ trunk/dports/gis/gdal-grass/Portfile	2011-02-28 12:15:22 UTC (rev 76566)
@@ -35,14 +35,14 @@
 			${worksrcpath}/Makefile
 		reinplace -E "s|^(LD_SHARED.*)|\\1 ${configure.universal_cxxflags}|" \
 			${worksrcpath}/Makefile
+	}
 			
-		# Fixes destroot issues
-		reinplace -E "s|^(GRASSTABLES_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
-			${worksrcpath}/Makefile
-		reinplace -E "s|^(AUTOLOAD_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
-			${worksrcpath}/Makefile
-		reinplace "s|mkdir|mkdir -p|" ${worksrcpath}/Makefile
-	}
+	# Fixes destroot issues
+	reinplace -E "s|^(GRASSTABLES_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
+		${worksrcpath}/Makefile
+	reinplace -E "s|^(AUTOLOAD_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
+		${worksrcpath}/Makefile
+	reinplace "s|mkdir|mkdir -p|" ${worksrcpath}/Makefile
 }
 
 build.target	
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110228/e35f39e2/attachment.html>


More information about the macports-changes mailing list