diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-07-18 14:04:12 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-07-18 14:04:12 +0000 |
commit | b29c7da231990be21eb6c88ae470401fc8cef144 (patch) | |
tree | 21c81ded19fed24404f7a3419a870f42e7fe645a /dev-db/henplus/files | |
parent | ChangeLog fixes (Manifest recommit) (diff) | |
download | gentoo-2-b29c7da231990be21eb6c88ae470401fc8cef144.tar.gz gentoo-2-b29c7da231990be21eb6c88ae470401fc8cef144.tar.bz2 gentoo-2-b29c7da231990be21eb6c88ae470401fc8cef144.zip |
install wrapper script, closes 40197
Diffstat (limited to 'dev-db/henplus/files')
-rw-r--r-- | dev-db/henplus/files/digest-henplus-0.9.5-r1 | 1 | ||||
-rw-r--r-- | dev-db/henplus/files/henplus.patch | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-db/henplus/files/digest-henplus-0.9.5-r1 b/dev-db/henplus/files/digest-henplus-0.9.5-r1 new file mode 100644 index 000000000000..7db26f4124e9 --- /dev/null +++ b/dev-db/henplus/files/digest-henplus-0.9.5-r1 @@ -0,0 +1 @@ +MD5 135e00fddd80ec0cf903171760c02a1b henplus-0.9.5.tar.gz 106161 diff --git a/dev-db/henplus/files/henplus.patch b/dev-db/henplus/files/henplus.patch new file mode 100644 index 000000000000..4c6fa7038f45 --- /dev/null +++ b/dev-db/henplus/files/henplus.patch @@ -0,0 +1,33 @@ +--- bin/henplus 2004-02-02 14:53:28.000000000 +0100 ++++ bin/henplus 2004-07-18 15:56:40.061422352 +0200 +@@ -13,20 +13,9 @@ + JAVA=$JAVA_HOME/bin/java + fi + +-##------------------ +-THISDIR=`dirname $0` +-HENPLUSDIR=$THISDIR/../share/henplus +- +-# not yet installed ? Then look in the build directory +-if [ ! -d "$HENPLUSDIR" ] ; then +- HENPLUSDIR=$THISDIR/../build +-fi ++HENPLUSDIR=$(dirname $(java-config -p henplus)) + +-# location of the readline lib. +-# Modify this, if you installation stores this at a different +-# position. +-LD_LIBRARY_PATH=$THISDIR/../lib:/usr/lib/jni:$LD_LIBRARY_PATH +-CLASSPATH=$CLASSPATH:$THISDIR/../share/java/libreadline-java.jar ++CLASSPATH=$CLASSPATH:$(java-config -p libreadline-java) + + # you may just throw your own jar files in this dir. + # (like additional JDBC-drivers, that are not in default +@@ -66,6 +55,4 @@ + fi + done + +-export CLASSPATH LD_LIBRARY_PATH +- +-exec $JAVA $JAVA_FLAGS henplus.HenPlus "$@" ++exec $JAVA -cp $CLASSPATH $JAVA_FLAGS henplus.HenPlus "$@" |