aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-12 12:53:08 -0500
committerJack Nagel2014-06-12 12:55:05 -0500
commitc5d736fb46dc8c7addf97c4fe6553721e39b3c93 (patch)
tree3abee5bd5f099fd27103d956e6aa1d792b2c2f97 /Library
parent182654ece89a9dabde4b3d25751df3c587e14114 (diff)
downloadhomebrew-c5d736fb46dc8c7addf97c4fe6553721e39b3c93.tar.bz2
lmdb: combine inreplaces
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/lmdb.rb9
1 files changed, 3 insertions, 6 deletions
diff --git a/Library/Formula/lmdb.rb b/Library/Formula/lmdb.rb
index d59cac67b..c534b388d 100644
--- a/Library/Formula/lmdb.rb
+++ b/Library/Formula/lmdb.rb
@@ -8,12 +8,9 @@ class Lmdb < Formula
head 'git://git.openldap.org/openldap.git', :branch => 'mdb.master'
def install
- # .so -> .dylib
- inreplace 'libraries/liblmdb/Makefile', ".so", ".dylib"
-
- # fix the /share/man/man path
- inreplace 'libraries/liblmdb/Makefile' do |s|
- s.gsub! '$(DESTDIR)$(prefix)/man/man1', '$(DESTDIR)$(prefix)/share/man/man1'
+ inreplace "libraries/liblmdb/Makefile" do |s|
+ s.gsub! ".so", ".dylib"
+ s.gsub! "$(DESTDIR)$(prefix)/man/man1", "$(DESTDIR)$(prefix)/share/man/man1"
end
man1.mkpath