Commit Graph

2 Commits

Author SHA1 Message Date
Eelco Dolstra
5bc2dc536d * `pkg-config --cflags': ignore Requires.private (just like --libs).
Whether this is correct is debatable (especially since there is no
  formal semantics for Requires.private), but not ignoring it breaks
  some packages (like Pango's dependency on Cairo).

svn path=/nixpkgs/branches/stdenv-updates/; revision=13060
2008-10-14 12:06:36 +00:00
Eelco Dolstra
1e6622f4d5 * The patch for proper Requires.private processing is still necessary,
unfortunately.  For instance, libxcb's xcb.pc declares:

    Requires.private: pthread-stubs ...

  Thus libxcb has to declare the pthread-stubs package as a
  propagatedBuildInput, otherwise packages that check for libxcb using
  pkg-config (such as libX11) will fail.  But then we get a totally
  unnecessary additional runtime dependency, which is clearly a bad
  thing.

svn path=/nixpkgs/branches/stdenv-updates/; revision=13058
2008-10-13 12:51:04 +00:00