forked from I2P_Developers/i2p.i2p
changes to fix compilation on OpenBSD
This commit is contained in:
@ -125,6 +125,7 @@
|
|||||||
<!-- Update the messages_*.po files.
|
<!-- Update the messages_*.po files.
|
||||||
We need to supply the bat file for windows, and then change the fail property to true -->
|
We need to supply the bat file for windows, and then change the fail property to true -->
|
||||||
<exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="${require.gettext}" >
|
<exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="${require.gettext}" >
|
||||||
|
<env key="JAVA_HOME" value="${java.home}" />
|
||||||
<arg value="./bundle-messages-proxy.sh" />
|
<arg value="./bundle-messages-proxy.sh" />
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="${require.gettext}" >
|
<exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="${require.gettext}" >
|
||||||
|
@ -15,6 +15,10 @@ TMPFILE=build/javafiles-proxy.txt
|
|||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
RC=0
|
RC=0
|
||||||
|
|
||||||
|
if ! $(which javac > /dev/null 2>&1); then
|
||||||
|
export JAVAC=${JAVA_HOME}/../bin/javac
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$1" = "-p" ]
|
if [ "$1" = "-p" ]
|
||||||
then
|
then
|
||||||
POUPDATE=1
|
POUPDATE=1
|
||||||
|
@ -168,6 +168,7 @@
|
|||||||
|
|
||||||
<target name="bundle-news" unless="no.bundle">
|
<target name="bundle-news" unless="no.bundle">
|
||||||
<exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="${require.gettext}" >
|
<exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="${require.gettext}" >
|
||||||
|
<env key="JAVA_HOME" value="${java.home}" />
|
||||||
<arg value="./bundle-messages-news.sh" />
|
<arg value="./bundle-messages-news.sh" />
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="${require.gettext}" >
|
<exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="${require.gettext}" >
|
||||||
|
@ -15,6 +15,10 @@ TMPFILE=build/javafiles-news.txt
|
|||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
RC=0
|
RC=0
|
||||||
|
|
||||||
|
if ! $(which javac > /dev/null 2>&1); then
|
||||||
|
export JAVAC=${JAVA_HOME}/../bin/javac
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$1" = "-p" ]
|
if [ "$1" = "-p" ]
|
||||||
then
|
then
|
||||||
POUPDATE=1
|
POUPDATE=1
|
||||||
|
Reference in New Issue
Block a user