- Fix the usage of 'python' to get rid of the implicit lang/python

dependency

Reported by:	exp-run (PR 184591)
Approved by:	portmgr (blanket)
This commit is contained in:
Marcus von Appen 2013-12-15 13:21:13 +00:00
parent 26e4841744
commit cea558e671
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336527

View File

@ -34,6 +34,10 @@ NO_STAGE= yes
CFLAGS+= -fPIC
.endif
post-patch:
@${REINPLACE_CMD} -e 's|shell python|shell ${PYTHON_CMD}|' \
${WRKSRC}/build/src/gcc.mak
do-build:
(cd ${WRKSRC}/build/src; CFLAGS="${CFLAGS}" ${GMAKE} -f gcc.mak PYTHONBASE=${PYTHONBASE} PYTHON_VERSION=${PYTHON_VERSION} PTHREAD_LIBS=${PTHREAD_LIBS} CXX=${CXX})