- 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 21:33:13 +00:00
parent c9f842b2cd
commit fabf0b7174
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336583

View file

@ -27,6 +27,7 @@ MAKE_ARGS= CC="${CC}" \
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/CC/s,gcc,$$\{CC\},' ${WRKSRC}/make.inc
@${REINPLACE_CMD} -e 's|= python|= ${PYTHON_CMD}|' ${WRKSRC}/make.inc
pre-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}