diff options
| author | jctull | 2013-11-14 11:54:52 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-14 20:17:26 -0800 |
| commit | d29e6cc33486ccd8667deddb26a0a78ae07f5fe6 (patch) | |
| tree | 90c88d89661ae5f3fab4bce268ea1c6422647d50 /Library/Formula/grass.rb | |
| parent | 56aae293b4553d00c28cdec0f6cb418f5ed55956 (diff) | |
| download | homebrew-d29e6cc33486ccd8667deddb26a0a78ae07f5fe6.tar.bz2 | |
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 <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/grass.rb')
| -rw-r--r-- | Library/Formula/grass.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
