summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-05-23 10:29:43 +0000
committerjmmv <jmmv@pkgsrc.org>2004-05-23 10:29:43 +0000
commit7fca0bab03b86c78a99780cdd0f466703c154018 (patch)
tree08a04c16433afd92ebe6050c55b5f1f0e820b92b /mk
parent520345a4a81b52afc8da3f17bb661234024eebc7 (diff)
downloadpkgsrc-7fca0bab03b86c78a99780cdd0f466703c154018.tar.gz
Lets be pkgviews friendly: create the bin directory when installing wrappers.
Diffstat (limited to '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}