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:
parent
916de8cb1a
commit
94001343ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87154
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user