sys-libs/safeclib: use the right makefile

USE=modules still fail for me

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-04-14 01:56:06 +02:00
parent 35d7a9e2c5
commit 763368d89c

View File

@@ -17,12 +17,14 @@ KEYWORDS="~amd64"
IUSE="+constraint-handler +extensions modules norm-compat +nullslack test unsafe valgrind"
RESTRICT="!test? ( test )"
BDEPEND="
app-doc/doxygen[dot]
valgrind? ( dev-util/valgrind )
"
S="${WORKDIR}/${PN}-${MY_REV}"
MODULE_NAMES="slkm(misc:${S}-module:${S}-module/src)"
MODULE_NAMES="slkm(misc:${S}-module:${S}-module)"
BUILD_TARGETS="all"
BUILD_PARAMS="-f Makefile.kernel"
src_prepare() {
eautoreconf
@@ -62,11 +64,13 @@ src_compile() {
if use modules ; then
cd "${S}-module" || die
linux-mod_src_compile || die
linux-mod_src_compile
fi
}
src_install() {
# wcsstr towupper towlower manpages collide with sys-apps/man-pages
# what to do?
default
einstalldocs
rm -r doc/man || die
@@ -74,7 +78,7 @@ src_install() {
if use modules ; then
cd "${S}-module" || die
linux-mod_src_install || die
linux-mod_src_install
fi
}