mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Fix build on Python 2.4.
This commit is contained in:
parent
4dfc66ee43
commit
9572f6878d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123160
@ -17,7 +17,7 @@ COMMENT= Python module for processing ID3 tags
|
||||
LIB_DEPENDS= id3:${PORTSDIR}/audio/id3lib
|
||||
RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/optparse.py:${PORTSDIR}/devel/py-optik
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYTHON= 2.2-
|
||||
USE_PYTHON_PREFIX= yes
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
@ -32,6 +32,7 @@ MANCOMPRESSED= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,PYTHON="",,g' -e 's,/usr/local,${LOCALBASE},g' \
|
||||
-e 's,2\\\.\[23456789\]\\\.,2.[23456789],g' \
|
||||
${WRKSRC}/configure
|
||||
${REINPLACE_CMD} -e 's,\(setup.py build\),\1 $${SETUP_ARGS_BUILD},g' \
|
||||
-e 's,\(setup.py install\),\1 $${SETUP_ARGS_INSTALL} ,g' \
|
||||
|
Loading…
Reference in New Issue
Block a user