Bug 9584

Summary: --variable doesn't work with --define-variable
Product: pkg-config Reporter: Yevgen Muntyan <muntyan>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: count-linux
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Yevgen Muntyan 2007-01-09 10:37:53 UTC
$ /usr/bin/pkg-config --define-variable=foo=foo --variable target gdk-2.0
$ /usr/bin/pkg-config --variable target gdk-2.0
x11

For instance, "pkg-config --define-variable=prefix=foo --variable target
gdk-2.0" doesn't work, and I have to work it around when using gtk pc files
(they have prefix=C:\blahblah which has to be overridden).
Comment 1 Dan Nicholson 2012-05-10 05:46:58 UTC
*** Bug 22296 has been marked as a duplicate of this bug. ***
Comment 2 Dan Nicholson 2012-05-10 05:48:23 UTC
This is a definite bug in the ancient bundled popt, and there's a test for this particular case. You can build with a newer external popt in the meantime if this bug is critical to you.
Comment 3 Dan Nicholson 2012-05-10 09:35:47 UTC
Should be fixed in e512071. Please reopen if there's still a bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.