aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.python.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.python.mk')
-rw-r--r--Mk/bsd.python.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk
index 29d5b0bf1c92..10ba5b2f89ba 100644
--- a/Mk/bsd.python.mk
+++ b/Mk/bsd.python.mk
@@ -250,8 +250,8 @@ PYTHON_SUFFIX!= ${PYTHON_CMD} -c 'import sys; h = "%x" % sys.hexversion; \
print h[0]+h[2]'
.else
-.BEGIN:
- @${ECHO} "Error: bad value for PYTHON_VERSION: ${PYTHON_VERSION}."
+check-makevars::
+ @${ECHO} "Makefile error: bad value for PYTHON_VERSION: ${PYTHON_VERSION}."
@${ECHO} "Legal values are:"
@${ECHO} " python1.5"
@${ECHO} " python1.6"