From 5a652c322c730a9c0867b68511d9ffc83836da43 Mon Sep 17 00:00:00 2001 From: Karl Entwistle Date: Tue, 8 Jul 2014 15:43:10 +0100 Subject: 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: --- Library/Formula/analog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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" -- cgit v1.2.3