summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-11-09 00:49:54 +0000
committerjoerg <joerg@pkgsrc.org>2007-11-09 00:49:54 +0000
commit015db51129323c2c9b32d452260e38ede9d054c1 (patch)
tree166544386a25913556c842b3a2e3ffbe53971fc3 /mk
parent34aa985f6ae1b1b1c729eaa5f28efe06ff1afd34 (diff)
downloadpkgsrc-015db51129323c2c9b32d452260e38ede9d054c1.tar.gz
Prepare for DESTDIR support in Java VMs.
Diffstat (limited to 'mk')
-rw-r--r--mk/java-env.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/java-env.mk b/mk/java-env.mk
index 830d28fbbd6..b752d81e180 100644
--- a/mk/java-env.mk
+++ b/mk/java-env.mk
@@ -1,4 +1,4 @@
-# $NetBSD: java-env.mk,v 1.10 2007/08/02 18:04:48 jlam Exp $
+# $NetBSD: java-env.mk,v 1.11 2007/11/09 00:49:54 joerg Exp $
#
# This Makefile fragment handles Java wrappers and is meant to be included
# by packages that provide a Java build-time and/or run-time environment.
@@ -84,7 +84,7 @@ ${WRKDIR}/${w}:
. endif
install-java-wrapper-${w}:
- ${INSTALL_SCRIPT} ${WRKDIR}/${w} ${PREFIX}/bin/${JAVA_NAME}-${w}
+ ${INSTALL_SCRIPT} ${WRKDIR}/${w} ${DESTDIR}${PREFIX}/bin/${JAVA_NAME}-${w}
. endfor
. undef w