diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2008-06-01 13:53:06 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2008-06-01 13:53:06 +0000 |
commit | 2f9d1b9af377c7c79d74d1f0397bfa0142016b3c (patch) | |
tree | 0c1dfd3a18400c3ee2bf6b47cd995a2c93d2f8b4 /devel/ireport/files | |
parent | 708e92e8f2f1e3fe0388635a6f10fb0ee39e9060 (diff) | |
download | ports-2f9d1b9af377c7c79d74d1f0397bfa0142016b3c.tar.gz ports-2f9d1b9af377c7c79d74d1f0397bfa0142016b3c.zip |
Notes
Diffstat (limited to 'devel/ireport/files')
-rw-r--r-- | devel/ireport/files/patch-bin_startup.sh | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/devel/ireport/files/patch-bin_startup.sh b/devel/ireport/files/patch-bin_startup.sh index fd5c84dbe66c..72752d857c97 100644 --- a/devel/ireport/files/patch-bin_startup.sh +++ b/devel/ireport/files/patch-bin_startup.sh @@ -1,5 +1,5 @@ ---- bin/startup.sh.orig Thu Nov 16 02:59:28 2006 -+++ bin/startup.sh Thu Nov 16 21:15:54 2006 +--- bin/startup.sh.orig 2008-05-30 08:34:03.000000000 +0200 ++++ bin/startup.sh 2008-06-01 15:44:53.000000000 +0200 @@ -1,33 +1,13 @@ #! /bin/sh @@ -16,9 +16,7 @@ - IREPORT_CLASSPATH="$i":$IREPORT_CLASSPATH - fi -done -+IREPORT_CLASSPATH="%%CLSSPTH%%:%%DATADIR%%/fonts" -+IREPORT_HOME="$HOME/ireport" - +- -DIRLIBS=${EXEDIR}/../lib/*.zip -for i in ${DIRLIBS} -do @@ -34,12 +32,13 @@ -IREPORT_HOME=$(pwd) -cd bin -#echo $IREPORT_HOME -- --java -classpath "$IREPORT_CLASSPATH:$CLASSPATH" -Direport.home=$IREPORT_HOME -Djava.security.policy=$IREPORT_HOME/policy.all it.businesslogic.ireport.gui.MainFrame "$@" ++IREPORT_CLASSPATH="%%CLSSPTH%%:%%DATADIR%%/fonts" ++IREPORT_HOME="$HOME/ireport" + +# Since iReport-1.2.2, $IREPORT_HOME must be writable +/bin/mkdir -p $IREPORT_HOME/lib +/bin/rm $IREPORT_HOME/plugins $IREPORT_HOME/templates 2>/dev/null || /usr/bin/true +/bin/ln -sf %%DATADIR%%/plugins $IREPORT_HOME/plugins +/bin/ln -sf %%DATADIR%%/templates $IREPORT_HOME/templates +cd $IREPORT_HOME -+java -classpath "$IREPORT_CLASSPATH:$CLASSPATH" -Direport.home=$IREPORT_HOME it.businesslogic.ireport.gui.MainFrame "$@" + java -classpath "$IREPORT_CLASSPATH:$CLASSPATH" -Direport.home=$IREPORT_HOME -Djava.security.policy=$IREPORT_HOME/policy.all it.businesslogic.ireport.gui.MainFrame "$@" |