diff options
author | glewis <glewis@FreeBSD.org> | 2004-09-04 00:23:01 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-09-04 00:23:01 +0800 |
commit | 0f340c2b6854514b962a617376d74dd59b0cf698 (patch) | |
tree | 9c69de3d5bc3a30096aca9cd5491b99578729613 /java | |
parent | 5b661ea700070072fbd8b3eea15c7026ce69d32c (diff) | |
download | freebsd-ports-gnome-0f340c2b6854514b962a617376d74dd59b0cf698.tar.gz freebsd-ports-gnome-0f340c2b6854514b962a617376d74dd59b0cf698.tar.zst freebsd-ports-gnome-0f340c2b6854514b962a617376d74dd59b0cf698.zip |
. JAVALIBDIR is more appropriate than JAVAJARDIR now we have it.
Diffstat (limited to 'java')
-rw-r--r-- | java/javavmwrapper/Makefile | 4 | ||||
-rw-r--r-- | java/javavmwrapper/src/classpath.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/java/javavmwrapper/Makefile b/java/javavmwrapper/Makefile index 32bb8dca3f28..780013538979 100644 --- a/java/javavmwrapper/Makefile +++ b/java/javavmwrapper/Makefile @@ -23,7 +23,7 @@ SRC= ${.CURDIR}/src SCRIPTS= classpath javavmwrapper # This is normally defined by bsd.java.mk when USE_JAVA is defined, but # we can't do that here since it would result in a circular dependency -JAVAJARDIR= ${PREFIX}/share/java/classes +JAVALIBDIR= ${LOCALBASE}/share/java/classes do-fetch: @${DO_NADA} @@ -31,7 +31,7 @@ do-fetch: do-configure: .for _script in ${SCRIPTS} ${SED} -e 's|%%PREFIX%%|${PREFIX}|;' \ - -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|;' \ + -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|;' \ <${SRC}/${_script}.sh >${WRKDIR}/${_script}.sh .endfor diff --git a/java/javavmwrapper/src/classpath.sh b/java/javavmwrapper/src/classpath.sh index 04d714c0fad7..1c0c2ecff139 100644 --- a/java/javavmwrapper/src/classpath.sh +++ b/java/javavmwrapper/src/classpath.sh @@ -3,9 +3,9 @@ # $FreeBSD$ # -JAVAJARDIR=%%JAVAJARDIR%% +JAVALIBDIR=%%JAVALIBDIR%% echo -n . -find -s ${JAVAJARDIR} -name '*.jar' | while read jar ; do +find -s ${JAVALIBDIR} -name '*.jar' | while read jar ; do echo -n ":${jar}" done |