Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-libs/safeclib/
Date: Wed, 14 Apr 2021 09:08:04
Message-Id: 1618358166.763368d89cca30926be9a69d0fe02ffd10847af6.andrewammerlaan@gentoo
1 commit: 763368d89cca30926be9a69d0fe02ffd10847af6
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue Apr 13 23:56:06 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Tue Apr 13 23:56:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=763368d8
7
8 sys-libs/safeclib: use the right makefile
9
10 USE=modules still fail for me
11
12 Package-Manager: Portage-3.0.18, Repoman-3.0.3
13 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
14
15 sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild | 10 +++++++---
16 1 file changed, 7 insertions(+), 3 deletions(-)
17
18 diff --git a/sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild b/sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild
19 index 7a5fe84fd..f3ba40fda 100644
20 --- a/sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild
21 +++ b/sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild
22 @@ -17,12 +17,14 @@ KEYWORDS="~amd64"
23 IUSE="+constraint-handler +extensions modules norm-compat +nullslack test unsafe valgrind"
24 RESTRICT="!test? ( test )"
25 BDEPEND="
26 + app-doc/doxygen[dot]
27 valgrind? ( dev-util/valgrind )
28 "
29 S="${WORKDIR}/${PN}-${MY_REV}"
30
31 -MODULE_NAMES="slkm(misc:${S}-module:${S}-module/src)"
32 +MODULE_NAMES="slkm(misc:${S}-module:${S}-module)"
33 BUILD_TARGETS="all"
34 +BUILD_PARAMS="-f Makefile.kernel"
35
36 src_prepare() {
37 eautoreconf
38 @@ -62,11 +64,13 @@ src_compile() {
39
40 if use modules ; then
41 cd "${S}-module" || die
42 - linux-mod_src_compile || die
43 + linux-mod_src_compile
44 fi
45 }
46
47 src_install() {
48 + # wcsstr towupper towlower manpages collide with sys-apps/man-pages
49 + # what to do?
50 default
51 einstalldocs
52 rm -r doc/man || die
53 @@ -74,7 +78,7 @@ src_install() {
54
55 if use modules ; then
56 cd "${S}-module" || die
57 - linux-mod_src_install || die
58 + linux-mod_src_install
59 fi
60 }