[Lunar-commits] <moonbase> openvrml: A little tweaking on the BUILD and CONFIGURE.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Sun Jan 17 23:54:30 CET 2010
commit 8c475e37255469073b0263b4d80f4eb0ea0a38a1
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Sun Jan 17 17:54:30 2010 -0500
openvrml: A little tweaking on the BUILD and CONFIGURE.
---
graphics/openvrml/BUILD | 8 ++++++--
graphics/openvrml/CONFIGURE | 4 ++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/graphics/openvrml/BUILD b/graphics/openvrml/BUILD
index 630d93d..021f305 100644
--- a/graphics/openvrml/BUILD
+++ b/graphics/openvrml/BUILD
@@ -1,7 +1,11 @@
(
- export BOOST_LIB_SUFFIX=-mt
- export CPPFLAGS="$CPPFLAGS -I/usr/include/boost"
+ JAVA_HOME="$JAVA_HOME" &&
+
+ export CPPFLAGS="$CPPFLAGS -I/usr/include/boost" &&
+
+# sedit "s:include <jni.h>:include <include/jni.h>:g" configure &&
+ sedit "s:BOOST_LIB_SUFFIX=-mt:BOOST_LIB_SUFFIX=:g" configure &&
default_build
diff --git a/graphics/openvrml/CONFIGURE b/graphics/openvrml/CONFIGURE
index 92b0755..db49605 100644
--- a/graphics/openvrml/CONFIGURE
+++ b/graphics/openvrml/CONFIGURE
@@ -3,10 +3,10 @@ if ! grep -q "CONFIG_JAVA=" $MODULE_CONFIG; then
if ! module_installed j2sdk; then
lin j2sdk
fi
- echo 'OPTS="$OPTS --with-jdk --enable-script-node-java"' > $MODULE_CONFIG
+ echo 'OPTS="$OPTS --with-jdk --enable-script-node-javascript --enable-script-node-java"' > $MODULE_CONFIG
CONFIG_JAVA=y
else
- echo 'OPTS="$OPTS --without-jdk --disable-script-node-javascript"' > $MODULE_CONFIG
+ echo 'OPTS="$OPTS --without-jdk --disable-script-node-javascript --disable-script-node-java"' > $MODULE_CONFIG
CONFIG_JAVA=n
fi
echo "CONFIG_JAVA=$CONFIG_JAVA" >> $MODULE_CONFIG
More information about the Lunar-commits
mailing list