1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

- 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>
This commit is contained in:
Johann Visagie 2002-04-23 14:35:59 +00:00
parent 77b84a6a91
commit 3dcf8856c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58028

View File

@ -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>