aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/analog.rb
diff options
context:
space:
mode:
authorKarl Entwistle2014-07-08 15:43:10 +0100
committerMike McQuaid2014-07-08 11:08:07 -0700
commit5a652c322c730a9c0867b68511d9ffc83836da43 (patch)
tree85062f752cc13d37f2d6701676766a89c48a849f /Library/Formula/analog.rb
parent59712ed4c63e0ebea1fdc52cc7bb97fa924ea05d (diff)
downloadhomebrew-5a652c322c730a9c0867b68511d9ffc83836da43.tar.bz2
analog: fix build DLANGDIR path
* Current Formula is incorrectly set as '/foo-share/analog/lang' lets use share/analog/lang instead otherwise the following error message is output when attempting to run analog: Fatal error: Can't read language file /foo-share/analog/uk.lng:
Diffstat (limited to 'Library/Formula/analog.rb')
-rw-r--r--Library/Formula/analog.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/analog.rb b/Library/Formula/analog.rb
index 922f9ce02..1ad7ee7a6 100644
--- a/Library/Formula/analog.rb
+++ b/Library/Formula/analog.rb
@@ -13,7 +13,7 @@ class Analog < Formula
def install
system "make", "CC=#{ENV.cc}",
"CFLAGS=#{ENV.cflags}",
- "DEFS='-DLANGDIR=\"/foo-share/analog/lang\"' -DHAVE_ZLIB",
+ "DEFS='-DLANGDIR=\"#{share/'analog/lang/'}\"' -DHAVE_ZLIB",
"LIBS=-lz",
"OS=OSX"
bin.install "analog"