Checking PYTHON_REL in the .BEGIN target breaks `make clean' if there's no

Python installed. Use the pre-fetch target instead.

Submitted by:	Gregory Sutter <gsutter@zer0.org>
This commit is contained in:
Thomas Gellekum 2002-01-15 12:32:05 +00:00
parent 5753bc590f
commit 91a75a62a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53108

View File

@ -24,8 +24,8 @@ EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
.include <bsd.port.pre.mk>
pre-fetch:
.if ${PYTHON_REL} < 200
.BEGIN:
@${ECHO} "Py-numeric doesn't work with Python versions < 2.0."
@${ECHO} "Please use the py-numeric17 port for these."
@${FALSE}