aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-12-05 02:58:04 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-12-05 02:58:04 +0000
commit9572f6878debf289daf21e0c60ed327ba694c4fd (patch)
treed829c1168b417ecfae8d96fa5e2a730d378ccf8e /audio
parent4dfc66ee435cdd4fb4c5cd445369efafed24ca4e (diff)
downloadports-9572f6878debf289daf21e0c60ed327ba694c4fd.tar.gz
ports-9572f6878debf289daf21e0c60ed327ba694c4fd.zip
Fix build on Python 2.4.
Notes
Notes: svn path=/head/; revision=123160
Diffstat (limited to 'audio')
-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 e23066045f59..558851c7f523 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' \