summaryrefslogtreecommitdiff
path: root/mk/java-env.mk
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-05-23 10:29:43 +0000
committerjmmv <jmmv>2004-05-23 10:29:43 +0000
commitcf1ddae059158fe220bc9fd162a0503a34cb40f1 (patch)
tree08a04c16433afd92ebe6050c55b5f1f0e820b92b /mk/java-env.mk
parentbd334859ec5e17a0386e334f55159b4d29f1b9d4 (diff)
downloadpkgsrc-cf1ddae059158fe220bc9fd162a0503a34cb40f1.tar.gz
Lets be pkgviews friendly: create the bin directory when installing wrappers.
Diffstat (limited to 'mk/java-env.mk')
-rw-r--r--mk/java-env.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/java-env.mk b/mk/java-env.mk
index 5f6175488ec..144acc765ce 100644
--- a/mk/java-env.mk
+++ b/mk/java-env.mk
@@ -1,4 +1,4 @@
-# $NetBSD: java-env.mk,v 1.2 2004/05/23 10:19:28 jmmv Exp $
+# $NetBSD: java-env.mk,v 1.3 2004/05/23 10:29:43 jmmv 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.
@@ -35,6 +35,10 @@ JAVA_CLASSPATH?= # empty
JAVA_UNLIMIT?= # empty
JAVA_WRAPPERS?= # empty
+.if !empty(JAVA_WRAPPERS)
+INSTALLATION_DIRS+= bin
+.endif
+
.for w in ${JAVA_WRAPPERS}
JAVA_WRAPPER_BIN.${w}?= ${JAVA_HOME}/bin/${w}