[GRASS-SVN] r67017 - grass/trunk/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 5 03:22:16 PST 2015


Author: martinl
Date: 2015-12-05 03:22:16 -0800 (Sat, 05 Dec 2015)
New Revision: 67017

Modified:
   grass/trunk/mswindows/osgeo4w/package.sh
Log:
wingrass: fix compilation issue proj4 4.9 (workaround)

Modified: grass/trunk/mswindows/osgeo4w/package.sh
===================================================================
--- grass/trunk/mswindows/osgeo4w/package.sh	2015-12-04 23:15:31 UTC (rev 67016)
+++ grass/trunk/mswindows/osgeo4w/package.sh	2015-12-05 11:22:16 UTC (rev 67017)
@@ -141,6 +141,12 @@
 		--with-cairo-includes=$OSGEO4W_ROOT_MSYS/include/cairo \
                 --with-postgres
 
+	# fix Proj4 4.9 compilation issues (workaround - better solution must be found)
+	proj_libs=`$PWD/mswindows/osgeo4w/proj4-config --libs`
+	sed -e "s#-lproj#${proj_libs}#g" \
+	    include/Make/Platform.make > include/Make/Platform.make.new
+	mv include/Make/Platform.make.new include/Make/Platform.make
+	
 	touch mswindows/osgeo4w/configure-stamp
 fi
 



More information about the grass-commit mailing list