python-pyqt: don't fail when do_configure is executed twice in the same WORKDIR

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2012-10-04 18:49:42 +02:00 committed by Koen Kooi
parent 58cb1dfe3e
commit 1ee0ffac8c

View File

@ -83,7 +83,7 @@ do_configure_prepend() {
echo "LIBS+=-L../qpy/QtCore/ -lqpycore" >>QtCore/QtCore.pro
echo "LIBS+=-L../qpy/QtDeclarative/ -lqpydeclarative" >>QtDeclarative/QtDeclarative.pro
# hack for broken generated code (duplicated sipCpp declaration).
patch -p1 < ${WORKDIR}/pyqt-generated.patch
patch -p1 < ${WORKDIR}/pyqt-generated.patch || echo "pyqt-generated.patch failed to apply, probably reexecuting do_configure, ignoring that"
}
do_install() {