diff options
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.java.mk | 4 |
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 |