forked from Lainports/freebsd-ports
Note: this is release 3.1.0. The latest release is 5.0.3, but it is not yet compatible with XLConnect (math/R-cran-XLConnect).
20 lines
691 B
Text
20 lines
691 B
Text
--- bin/_setlib.orig 2019-02-25 00:31:32 UTC
|
|
+++ bin/_setlib
|
|
@@ -19,14 +19,10 @@ if [ -z "$XMLBEANS_HOME" ]; then
|
|
XMLBEANS_HOME=`dirname $0`/..
|
|
fi
|
|
|
|
-XMLBEANS_LIB=
|
|
-if [ -f "$XMLBEANS_HOME"/build/lib/xbean.jar ]; then
|
|
- XMLBEANS_LIB=$XMLBEANS_HOME/build/lib
|
|
+if [ -f %%JAVAJARDIR%%/xmlbeans.jar ]; then
|
|
+ XMLBEANS_LIB=%%JAVAJARDIR%%
|
|
fi
|
|
-if [ -f "$XMLBEANS_HOME"/lib/xbean.jar ]; then
|
|
- XMLBEANS_LIB=$XMLBEANS_HOME/lib
|
|
-fi
|
|
|
|
if [ -z "$XMLBEANS_LIB" ]; then
|
|
- echo "ERROR: Could not find xbean.jar, try set XMLBEANS_LIB to the directory containing xbean.jar"
|
|
+ echo "ERROR: Could not find xmlbeans.jar, try set XMLBEANS_LIB to the directory containing xmlbeans.jar"
|
|
fi
|