diff --git a/srcpkgs/python-PyQt4/template b/srcpkgs/python-PyQt4/template index 458365e2506..1e280fa0e1f 100644 --- a/srcpkgs/python-PyQt4/template +++ b/srcpkgs/python-PyQt4/template @@ -27,6 +27,9 @@ _do_pyqt4_build() { python${pyver} configure-ng.py --confirm-license --assume-shared $tools \ CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ LINK="${CXX}" LINK_SHLIB="${CXX}" LFLAGS="${LDFLAGS}" STRIP="" + find -name Makefile -exec sed -i "{}" \ + -e "s;^\(CXXFLAGS.*=.*\);& $CXXFLAGS;" \ + -e "s;^\(LFLAGS.*=.*\);& $LDFLAGS;" \; make ${makejobs} } pre_build() {