From b16a0778b2ab6eb91f021de1430ae564f5a8baea Mon Sep 17 00:00:00 2001 From: Karl Entwistle Date: Tue, 8 Jul 2014 15:43:10 +0100 Subject: [PATCH] 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: --- Formula/analog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/analog.rb b/Formula/analog.rb index 922f9ce022621..1ad7ee7a6c62e 100644 --- a/Formula/analog.rb +++ b/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"