aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2012-04-13 04:03:42 +0000
committerGreg Lewis <glewis@FreeBSD.org>2012-04-13 04:03:42 +0000
commit4d24c791c4c96f65fb7f389cfe6772fb1c2457c9 (patch)
treeccb73f412221e3fd594874463c52f002ebaae77b /Mk
parente7ae9dc0f4856ddbae110a9a694286bc027ea8ed (diff)
downloadports-4d24c791c4c96f65fb7f389cfe6772fb1c2457c9.tar.gz
ports-4d24c791c4c96f65fb7f389cfe6772fb1c2457c9.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.java.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index 62139150c6de..f7a54591edb3 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -224,8 +224,8 @@ _JDK_FILE=bin/javac
. for variable in JAVA_HOME JAVA_PORT JAVA_PORT_VERSION JAVA_PORT_VENDOR JAVA_PORT_OS
. if defined(${variable})
check-makevars::
- @${ECHO_CMD} "${PKGNAME}: Environment error: \"${variable}\" should not be defined."
- @${FALSE}
+ @${ECHO_CMD} "${PKGNAME}: Environment error: \"${variable}\" should not be defined -- clearing."
+.undef ${variable}
. endif
. endfor