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
commit806cc2197e3ecd3a235b700e2ba6229e717d9af3 (patch)
tree6816aca287ad40a9077898520c1776a18cedabfa /lang/erlang
parentda1ce1e2cd44b449bdb65612ea55e798e6bf043e (diff)
downloadpkgsrc-806cc2197e3ecd3a235b700e2ba6229e717d9af3.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