Skip to content

Commit

Permalink
analog: fix build DLANGDIR path
Browse files Browse the repository at this point in the history
* 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:
  • Loading branch information
Karl Entwistle authored and MikeMcQuaid committed Jul 8, 2014
1 parent 400831c commit b16a077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/analog.rb
Expand Up @@ -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"
Expand Down

0 comments on commit b16a077

Please sign in to comment.