rev 9549 - branches/qt4-x11/debian
Fathi Boudra
fabo at alioth.debian.org
Mon Mar 3 16:45:12 UTC 2008
Author: fabo
Date: 2008-03-03 16:45:06 +0000 (Mon, 03 Mar 2008)
New Revision: 9549
Modified:
branches/qt4-x11/debian/rules
Log:
Make sure we didn't miss any pkconfig files.
Same for prl files, we must fix the path.
Modified: branches/qt4-x11/debian/rules
===================================================================
--- branches/qt4-x11/debian/rules 2008-03-03 16:43:25 UTC (rev 9548)
+++ branches/qt4-x11/debian/rules 2008-03-03 16:45:06 UTC (rev 9549)
@@ -134,12 +134,15 @@
# generate on build
rm -f debian/shlibs.local
-PKGCONFIGDIR := $(DEB_DESTDIR)/usr/lib/pkgconfig
common-install-arch::
# Fix wrong path in pkgconfig files
- for f in QtAssistantClient.pc QtDBus.pc QtTest.pc QtUiTools.pc; do \
- sed -i "s|-L/build/buildd/qt4-x11-$(QTVERSION)/lib||g" $(PKGCONFIGDIR)/$$f; \
- done
+ find $(DEB_DESTDIR)/usr/lib/pkgconfig -type f -name '*.pc' \
+ -exec perl -pi -e "s, -L$(CURDIR)/?\S+,,g" {} \;
+# Fix wrong path in prl files
+ find $(DEB_DESTDIR)/usr/lib -type f -name '*.prl' \
+ -exec perl -pi -e "s, -L$(CURDIR)/\S+,,g" {} \;
+ find $(DEB_DESTDIR)/usr/lib -type f -name '*.prl' \
+ -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" {} \;
install/libqt4-core::
$(CURDIR)/bin/lrelease-qt4 debian/translations/qt_ca.ts \
More information about the pkg-kde-commits
mailing list