summaryrefslogtreecommitdiffstats
path: root/audio/py-eyed3
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-12-05 02:58:04 +0000
committerperky <perky@FreeBSD.org>2004-12-05 02:58:04 +0000
commit9563e5cab7583f9e4f2a13577d83278a67ad2154 (patch)
tree1651642f0a2efcfd036437e34d0296d2aec34d51 /audio/py-eyed3
parent5b9d4213e7732c341d9d16aaeb31bc1986de6ad8 (diff)
downloadFreeBSD-ports-9563e5cab7583f9e4f2a13577d83278a67ad2154.zip
FreeBSD-ports-9563e5cab7583f9e4f2a13577d83278a67ad2154.tar.gz
Fix build on Python 2.4.
Diffstat (limited to 'audio/py-eyed3')
-rw-r--r--audio/py-eyed3/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/py-eyed3/Makefile b/audio/py-eyed3/Makefile
index e230660..558851c 100644
--- a/audio/py-eyed3/Makefile
+++ b/audio/py-eyed3/Makefile
@@ -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' \
OpenPOWER on IntegriCloud