aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-07-19 21:48:37 -0500
committerJack Nagel2013-07-19 22:15:17 -0500
commit343fb6264fab5b5344fdd134026092151c9d5243 (patch)
tree2c834b934acdc886cfdde66860f2a35d78e6fe7d /Library/Formula
parenta32377e50b80d31d118a1944947e79afd7f8288d (diff)
downloadhomebrew-343fb6264fab5b5344fdd134026092151c9d5243.tar.bz2
gdal: fix manpage installation
Fixes #21338. Closes #21341.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gdal.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/gdal.rb b/Library/Formula/gdal.rb
index 5daf84a59..a448c58a1 100644
--- a/Library/Formula/gdal.rb
+++ b/Library/Formula/gdal.rb
@@ -201,6 +201,9 @@ class Gdal < Formula
ENV['ARCHFLAGS'] = "-arch i386"
end
+ # Fix hardcoded mandir: http://trac.osgeo.org/gdal/ticket/5092
+ inreplace 'configure', %r[^mandir='\$\{prefix\}/man'$], ''
+
system "./configure", *get_configure_args
system "make"
system "make install"