summaryrefslogtreecommitdiffstats
path: root/lang/py-compiler
diff options
context:
space:
mode:
authorwjv <wjv@FreeBSD.org>2002-04-23 14:35:59 +0000
committerwjv <wjv@FreeBSD.org>2002-04-23 14:35:59 +0000
commit6b79646518e52db42af9ea2e8d46de5797fe0157 (patch)
tree27158710a3c151c3059b987b14cbe7a880219707 /lang/py-compiler
parent65a80d0de8325822b519e32b406c74e1fc495335 (diff)
downloadFreeBSD-ports-6b79646518e52db42af9ea2e8d46de5797fe0157.zip
FreeBSD-ports-6b79646518e52db42af9ea2e8d46de5797fe0157.tar.gz
- Mark FORBIDDEN if PYTHON_REL >= 220. The compiler is now part of
Python's standard library. PR: 37088 (indirectly) Submitted by: Andreas Schulz <ats@first.fhg.de>
Diffstat (limited to 'lang/py-compiler')
-rw-r--r--lang/py-compiler/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/py-compiler/Makefile b/lang/py-compiler/Makefile
index 98ceefa..8331614 100644
--- a/lang/py-compiler/Makefile
+++ b/lang/py-compiler/Makefile
@@ -23,6 +23,11 @@ DIST_SUBDIR= python
USE_PYTHON= yes
WRKSRC= ${PYTHON_WRKSRC}/Tools/${PORTNAME}
+.include <bsd.port.pre.mk>
+.if ${PYTHON_REL} >= 220
+FORBIDDEN= "Part of the standard library from Python 2.2 upwards"
+.endif
+
do-build:
@ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build
@@ -30,4 +35,4 @@ do-install:
@ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
setup.py install -c -O1 --prefix=${PREFIX}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud