summaryrefslogtreecommitdiff
path: root/audio/solfege
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-08-18 00:51:38 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-08-18 00:51:38 +0000
commit94001343eeed502a154efcf2665e387cae0e1d84 (patch)
tree240f0fabb9833f6316314fa503c6c183ff2a948d /audio/solfege
parentUpdate this port from being based on the X11 R6.5.1 sources to R6.6. (diff)
Don't hardcode python version.
(it still doesn't build for me by another errors.)
Diffstat (limited to 'audio/solfege')
-rw-r--r--audio/solfege/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/solfege/Makefile b/audio/solfege/Makefile
index 85c4bed944ba..cccb421741fb 100644
--- a/audio/solfege/Makefile
+++ b/audio/solfege/Makefile
@@ -39,5 +39,8 @@ post-patch:
@${REINPLACE_CMD} -e "s|[(]datadir[)]/locale|(prefix)/share/locale|g" ${WRKSRC}/po/Makefile
@${GREP} -lR "/usr/bin/python2.2" ${WRKSRC} | ${XARGS} \
${REINPLACE_CMD} -e "s,/usr/bin/python2.2,${SETENV} python,"
+ @${REINPLACE_CMD} -e "s|python2.2|${PYTHON_CMD}|" ${WRKSRC}/online-docs/Rules.make
+ @${REINPLACE_CMD} -e 's|\(python2.2 python2.1\)|${PYTHON_VERSION} \1|' \
+ ${WRKSRC}/configure
.include <bsd.port.mk>