summaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2006-05-23 15:09:52 +0000
committertonio <tonio@pkgsrc.org>2006-05-23 15:09:52 +0000
commit5249af487f146aaffef4d0bce9982e920a014ec1 (patch)
tree6816aca287ad40a9077898520c1776a18cedabfa /lang/erlang
parent2283f8ceb691b69596c2abf58d5883b563a7ab5c (diff)
downloadpkgsrc-5249af487f146aaffef4d0bce9982e920a014ec1.tar.gz
make sure no java compiler will be found unless the java option is selected
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/erlang/options.mk b/lang/erlang/options.mk
index aebcd8bf813..d7f77e05a3c 100644
--- a/lang/erlang/options.mk
+++ b/lang/erlang/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2005/12/30 10:32:16 ghen Exp $
+# $NetBSD: options.mk,v 1.2 2006/05/23 15:09:52 tonio Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.erlang
PKG_SUPPORTED_OPTIONS= java
@@ -10,4 +10,6 @@ USE_JAVA= yes
USE_JAVA2= yes
.include "../../mk/java-vm.mk"
PLIST_SRC+= PLIST.java
+.else
+CONFIGURE_ENV+= JAVAC=none
.endif