Permalink
Browse files

Lets be pkgviews friendly: create the bin directory when installing w…

…rappers.
  • Loading branch information...
1 parent dc491ab commit 13dcba7933e0f044c8e9c3d4843ba1e1a0cba19a jmmv committed May 23, 2004
Showing with 5 additions and 1 deletion.
  1. +5 −1 mk/java-env.mk
View
@@ -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}

0 comments on commit 13dcba7

Please sign in to comment.