Skip to content
Browse files

Prepare for DESTDIR support in Java VMs.

  • Loading branch information...
1 parent 62c1b55 commit 85cec1955fb53c5adc8f5687e713ae3d3e812e2d joerg committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 mk/java-env.mk
View
4 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

0 comments on commit 85cec19

Please sign in to comment.
Something went wrong with that request. Please try again.