pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: travails of the pixman upgrade [Was: Is pango still broken? (vim-gtk2 won't build)]



On Sat 25 Sep 2010 at 13:03:01 +0700, Robert Elz wrote:
> And (less likely to be relevant) for current issues, but odd anyway,
> I see in .buildlink/lib/pkgconfig/pangox.pc the following ...
> 
> Libs: -Wl,-R${libdir} -L${libdir} -lpangox-1.0  -L/usr/X11R7/lib 
> -R/usr/X11R7/lib -lX11 -Wl,-R/usr/X11R7/lib
> 
> That has the libraries in the right order (so do the other couple of .pc
> files that reference both) - the oddity is the -R arg sitting there.
> What's that one about?   That looks like a (harmless) bug to me.

If you compare this with what `pkg-config --libs pangox' prints, at
least on my system:

-Wl,-R/usr/pkg/lib -R/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -pthread 
-L/usr/pkg/lib -L/usr/X11R7/lib -lpangox-1.0 -lX11 -lpango-1.0 -lm 
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl  

it adds a lot of stuff, presumably from the required library (pango,
which in turn requires glib-2.0,gobject-2.0,gmodule-no-export-2.0)

But the order is still /pkg/ before /X11R7/, both for -L and -R-ish
paths.

-ptread must come, for instance, from gmodule-no-export-2.0.pc.

Most of the Libs: lines in these .pc files look like they should be
Libs.private:, so that only `pkg-config --static' would 

> kre
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- There's no point being grown-up if you 
\X/ rhialto/at/xs4all.nl    -- can't be childish sometimes. -The 4th Doctor


Home | Main Index | Thread Index | Old Index