diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2004-11-07 00:51:53 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2004-11-07 00:51:53 +0000 |
commit | d1da4b5fb6468bdad40989ad2fc0403579902c51 (patch) | |
tree | a139b056c1ae9460782173eb67c686b95e537085 /Mk/bsd.java.mk | |
parent | bccb3194668d6bd641f1d5f5b1b97ca06707fc38 (diff) | |
download | ports-d1da4b5fb6468bdad40989ad2fc0403579902c51.tar.gz ports-d1da4b5fb6468bdad40989ad2fc0403579902c51.zip |
Notes
Diffstat (limited to 'Mk/bsd.java.mk')
-rw-r--r-- | Mk/bsd.java.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk index a1a542aabfc2..b54c3644e9aa 100644 --- a/Mk/bsd.java.mk +++ b/Mk/bsd.java.mk @@ -291,6 +291,15 @@ check-makevars:: # From here, the port is using bsd.java.mk v2.0 +# Error checking: defined JAVA_{HOME,PORT,PORT_VERSION,PORT_VENDOR,PORT_OS} +. for variable in JAVA_HOME JAVA_PORT JAVA_PORT_VERSION JAVA_PORT_VENDOR JAVA_PORT_OS +. if defined(${variable}) +check-makevars:: + @${ECHO_CMD} "${PKGNAME}: Environement error: \"${variable}\" should not be defined." + @${FALSE} +. endif +. endfor + # Error checking: JAVA_VERSION _JAVA_VERSION_LIST_REGEXP!= ${ECHO_CMD} "${_JAVA_VERSION_LIST}" | ${SED} "s/ /\\\|/g" _ERROR_CHECKING_JAVA_VERSION!= ${ECHO_CMD} "${JAVA_VERSION}" | ${TR} " " "\n" \ |