Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432334 - dev-dotnet/zeitgeist-sharp-0.8.0.0 fails to properly expand libdir in .pc file
Summary: dev-dotnet/zeitgeist-sharp-0.8.0.0 fails to properly expand libdir in .pc file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-22 18:02 UTC by Travis Hansen
Modified: 2012-08-31 15:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Hansen 2012-08-22 18:02:28 UTC
The pc files ends up with @expanded_libdir@ instead of /usr/libXX which makes banshee-community-extensions[zeitgeist] fail and perhaps others.

I see a debian bug here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678753

I'm pretty stupid with autotools so I just hacked the ebuild with a src_configure as such:


src_prepare() {
    sed -i "s:@expanded_libdir@:/usr/$(get_libdir):" Zeitgeist/zeitgeist-sharp.pc.in
    epatch "${FILESDIR}"/${P}-zg-0.9.patch
    epatch "${FILESDIR}"/${P}-automake-1.12.patch
    eautoreconf
}

and all is fine here

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-08-31 15:36:44 UTC
sed -i "s:@expanded_libdir@:@libdir@:" Zeitgeist/zeitgeist-sharp.pc.in
is enough

+*zeitgeist-sharp-0.8.0.0-r1 (31 Aug 2012)
+
+  31 Aug 2012; Justin Lecher <jlec@gentoo.org>
+  +zeitgeist-sharp-0.8.0.0-r1.ebuild:
+  Fix unchanged variable in pkgconfig file, #432334
+