public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-libs/safeclib/
Date: Thu, 15 Apr 2021 00:51:44 +0000 (UTC)	[thread overview]
Message-ID: <1618447897.7c59528284fe8f76dfaf4795ff729427e0ccac84.Alessandro-Barbieri@gentoo> (raw)

commit:     7c59528284fe8f76dfaf4795ff729427e0ccac84
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Apr 15 00:50:12 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Apr 15 00:51:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c595282

sys-libs/safeclib: various changes

verbose make
Removes Werror
Adds doc IUSE
Move default (patches) above eautoreconf
Remove rm -r doc/man
Add use doc && dodoc -r doc/.

thanks @telans

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild b/sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild
index f3ba40fda..fd2ff8584 100644
--- a/sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild
+++ b/sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild
@@ -14,21 +14,22 @@ SRC_URI="https://github.com/rurban/safeclib/archive/${MY_REV}.tar.gz -> ${P}.tar
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="+constraint-handler +extensions modules norm-compat +nullslack test unsafe valgrind"
+IUSE="+constraint-handler doc +extensions modules norm-compat +nullslack test unsafe valgrind"
 RESTRICT="!test? ( test )"
+
 BDEPEND="
-	app-doc/doxygen[dot]
+	doc? ( app-doc/doxygen[dot] )
 	valgrind? ( dev-util/valgrind )
 "
-S="${WORKDIR}/${PN}-${MY_REV}"
 
+S="${WORKDIR}/${PN}-${MY_REV}"
 MODULE_NAMES="slkm(misc:${S}-module:${S}-module)"
 BUILD_TARGETS="all"
-BUILD_PARAMS="-f Makefile.kernel"
+BUILD_PARAMS="-f Makefile.kernel V=1"
 
 src_prepare() {
-	eautoreconf
 	default
+	eautoreconf
 
 	if use modules ; then
 		#duplicate the working folder
@@ -44,13 +45,16 @@ src_configure() {
 		--disable-static
 		--disable-valgrind-sgcheck
 		--enable-shared
+		--disable-Werror
 		$(use_enable constraint-handler)
+		$(use_enable doc)
 		$(use_enable extensions)
 		$(use_enable norm-compat)
 		$(use_enable nullslack)
 		$(use_enable unsafe)
 		$(use_enable valgrind)
 	)
+
 	econf "${myconf[@]}" --enable-wchar
 
 	if use modules ; then
@@ -64,6 +68,7 @@ src_compile() {
 
 	if use modules ; then
 		cd "${S}-module" || die
+		export src="${S}-module"
 		linux-mod_src_compile
 	fi
 }
@@ -73,8 +78,7 @@ src_install() {
 	# what to do?
 	default
 	einstalldocs
-	rm -r doc/man || die
-	dodoc -r doc/.
+	use doc && dodoc -r doc/.
 
 	if use modules ; then
 		cd "${S}-module" || die


             reply	other threads:[~2021-04-15  0:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-15  0:51 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-26 10:33 [gentoo-commits] repo/proj/guru:dev commit in: sys-libs/safeclib/ Alessandro Barbieri
2022-03-05  1:43 Alessandro Barbieri
2021-05-02  2:27 Alessandro Barbieri
2021-04-27 16:00 Alessandro Barbieri
2021-04-25 23:29 Alessandro Barbieri
2021-04-18 20:41 Alessandro Barbieri
2021-04-13 23:56 Alessandro Barbieri
2021-04-13 22:11 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1618447897.7c59528284fe8f76dfaf4795ff729427e0ccac84.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox