diff options
author | jmmv <jmmv> | 2004-05-23 10:29:43 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-05-23 10:29:43 +0000 |
commit | cf1ddae059158fe220bc9fd162a0503a34cb40f1 (patch) | |
tree | 08a04c16433afd92ebe6050c55b5f1f0e820b92b /mk/java-env.mk | |
parent | bd334859ec5e17a0386e334f55159b4d29f1b9d4 (diff) | |
download | pkgsrc-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.mk | 6 |
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} |