This package installs also static libs ".a" please provide to add relative USE. TIA From qlist -e $package: /usr/lib64/libnuma.a /usr/lib64/libnuma.so.1 /usr/lib64/libnuma.so
Created attachment 305029 [details, diff] Build static libs without -fPIC and only if BUILD_STATIC=yes
Created attachment 305031 [details, diff] diff against original ebuild also fixes bug 406157
Comment on attachment 305031 [details, diff] diff against original ebuild do not use pkg_setup to setup variables that actually belong in src_configure. any ebuild doing that is wrong, and you shouldn't be copying it. i've committed the getlibdir/EAPI updates.
Comment on attachment 305029 [details, diff] Build static libs without -fPIC and only if BUILD_STATIC=yes ".o_PIC" is an unusual suffix. ".pic.o" is probably a bit more common. static lib building should default to on, not off. then this should be OK to send upstream.
Created attachment 306357 [details, diff] Build static libs without -fPIC and only if BUILD_STATIC=yes (In reply to comment #4) > Comment on attachment 305029 [details, diff] [details, diff] > Build static libs without -fPIC and only if BUILD_STATIC=yes > > ".o_PIC" is an unusual suffix. ".pic.o" is probably a bit more common. Done, it seems I was wrong wrt implicit rule. %.pic.o works fine > static lib building should default to on, not off. BUILD_STATIC ?= yes should do the trick
Created attachment 306359 [details, diff] diff against original ebuild (In reply to comment #3) > do not use pkg_setup to setup variables that actually belong in > src_configure. any ebuild doing that is wrong, and you shouldn't be copying > it. Passing BUILD_STATIC directly to make now.
looks good ... feel free to commit
+*numactl-2.0.7-r2 (22 Mar 2012) + + 22 Mar 2012; Kacper Kowalik <xarthisius@gentoo.org> + +files/numactl-2.0.7-static_libs.patch, +numactl-2.0.7-r2.ebuild, + -numactl-2.0.7-r1.ebuild: + Build static library without -fPIC and make it optional wrt #379849 by + Agostino Sarubbo <ago@gentoo.org>