mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Fix calls to waf scripts to allow depending on any python version,
instead of the one hardcoded in the script itself. Submitted by: python@ (mva@)
This commit is contained in:
parent
d86e43e7c8
commit
8d1e2d9887
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334901
@ -375,15 +375,15 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%WRKSRC%%|${WRKSRC}|" ${WRKSRC}/wscript
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf ${_MAKE_JOBS} configure \
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} waf ${_MAKE_JOBS} configure \
|
||||
--conf-prefix=${LOCALBASE} --prefix=${PREFIX} \
|
||||
--mandir=${PREFIX}/man ${EXCLUDE}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf ${_MAKE_JOBS} build
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} waf ${_MAKE_JOBS} build
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install --destdir=${STAGEDIR} --without-ldconfig
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} waf install --destdir=${STAGEDIR} --without-ldconfig
|
||||
.if !defined(XMMS2_SLAVE)
|
||||
if [ ! -d ${STAGEDIR}${DATADIR}/scripts/startup.d ]; then \
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/scripts/startup.d; \
|
||||
|
Loading…
Reference in New Issue
Block a user