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 authored and Koen Kooi committed 2012-10-05 12:17:40 +02:00
1 parent 58cb1dfe3e
commit 1ee0ffac8c
1 file changed
+1 -1
@@ -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() {