mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
- Fix build with Python 3.2 [1]
Build log: http://goo.gl/W77Ku Reported by: eadler (via private email) [1] Approved by: wen (mantainer, via private email)
This commit is contained in:
parent
d0f6dca404
commit
db28545021
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322464
@ -18,6 +18,14 @@ PYEASYINSTALL_ARCHDEP= no
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_VERSION} == python3.2
|
||||
PY2TO3_CMD= ${LOCALBASE}/bin/2to3-${PYTHON_VER}
|
||||
PY2TO3_ARGS= --no-diffs --fix=all --nobackups --verbose --write
|
||||
|
||||
pre-build:
|
||||
@${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/markupsafe
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_REL} >= 320
|
||||
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
|
||||
.endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user