1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Don't hardcode python version.

(it still doesn't build for me by another errors.)
This commit is contained in:
Hye-Shik Chang 2003-08-18 00:51:38 +00:00
parent 916de8cb1a
commit 94001343ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87154
2 changed files with 6 additions and 0 deletions

View File

@ -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>

View File

@ -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>