[Webkit-unassigned] [Bug 39573] New: [Qt] pkg-config file corrupted by qmake commands
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 23 15:25:10 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=39573
Summary: [Qt] pkg-config file corrupted by qmake commands
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P3
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: debfx-webkit at fobos.de
The following commands in WebCore/WebCore.pro can corrupt QtWebKit.pc:
lib_replace.match = $$DESTDIR
lib_replace.replace = $$[QT_INSTALL_LIBS]
QMAKE_PKGCONFIG_INSTALL_REPLACE += lib_replace
The problem is that .match/.replace doesn't replace plain strings but regular expressions.
If $$DESTDIR == "../lib", the resulting command is:
sed -e "s,../lib,/usr/lib,g" "../lib/pkgconfig/QtWebKit.pc" >"/build/buildd/qtwebkit-4.7~beta1/debian/tmp/usr/lib/pkgconfig/QtWebKit.pc"
"." matches any character so "libdir=${prefix}/lib" is being replaced by "libdir=${prefi/usr/lib".
I'm not sure why this path replacement is needed at all.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list