Fix build when using python 3 as default by propagating flavored

sip binary to make environment.

PR:		229956
Submitted by:	fluffy
This commit is contained in:
Guido Falsi 2018-07-22 16:48:48 +00:00
parent 21e2e8481f
commit 007896486c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475110

View file

@ -70,7 +70,8 @@ MAKE_ENV+= FC_INC_DIR="${LOCALBASE}/include/fontconfig" \
XDG_DATA_DIRS=${STAGEDIR}${PREFIX}/share \
XDG_CONFIG_HOME=${WRKDIR}/xdg-config \
XDG_UTILS_INSTALL_MODE=system \
QMAKE=${QMAKE}
QMAKE=${QMAKE} \
SIP_BIN=sip-${PYTHON_VER}
post-patch:
@${REINPLACE_CMD} -e "s|#!/usr/bin/env python2|#!${PYTHON_CMD}|" \