ice: fix --with-java build

Closes Homebrew/homebrew#41573.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Joe George 2015-07-10 10:33:12 -04:00 committed by Mike McQuaid
parent 49058668c0
commit 1c2db7ea4f

View file

@ -48,7 +48,7 @@ class Ice < Formula
inreplace "cpp/src/slice2js/Makefile", /install:/, "dontinstall:"
if build.with? "java"
inreplace "cpp/src/slice2freezej/Makefile", "${DESTDIR}${binDir}/${appName}.app", "${prefix}/${appName}.app"
inreplace "java/src/IceGridGUI/build.gradle", "${DESTDIR}${binDir}/${appName}.app", "${prefix}/${appName}.app"
else
inreplace "cpp/src/slice2java/Makefile", /install:/, "dontinstall:"
inreplace "cpp/src/slice2freezej/Makefile", /install:/, "dontinstall:"