From d29e6cc33486ccd8667deddb26a0a78ae07f5fe6 Mon Sep 17 00:00:00 2001 From: jctull Date: Thu, 14 Nov 2013 11:54:52 -0800 Subject: Update grass.rb Upon testing the new commit, found an additional problem with r.external. Adding 'GDAL_DYNAMIC=' to the make and make install steps fixes an error with finding the gdal library for raster layers brought into grass with r.external. See compile instructions that address this here: http://gvsigce.sourceforge.net/wiki/index.php/Compiling_GRASS_GIS Closes #24320. Signed-off-by: Adam Vandenberg --- Library/Formula/grass.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/grass.rb b/Library/Formula/grass.rb index 7f48a6455..5b75b6dec 100644 --- a/Library/Formula/grass.rb +++ b/Library/Formula/grass.rb @@ -101,8 +101,8 @@ class Grass < Formula end system "./configure", "--prefix=#{prefix}", *args - system "make" # make and make install must be separate steps. - system "make install" + system "make GDAL_DYNAMIC=" # make and make install must be separate steps. + system "make GDAL_DYNAMIC= install" # GDAL_DYNAMIC set to blank for r.external compatability end def caveats -- cgit v1.2.3