From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B7E001382C5 for ; Thu, 15 Apr 2021 00:51:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14E62E086A; Thu, 15 Apr 2021 00:51:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C087AE086A for ; Thu, 15 Apr 2021 00:51:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C15AC340CD0 for ; Thu, 15 Apr 2021 00:51:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0ADED673 for ; Thu, 15 Apr 2021 00:51:44 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1618447897.7c59528284fe8f76dfaf4795ff729427e0ccac84.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-libs/safeclib/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-libs/safeclib/safeclib-3.6.0_p20210407.ebuild X-VCS-Directories: sys-libs/safeclib/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 7c59528284fe8f76dfaf4795ff729427e0ccac84 X-VCS-Branch: dev Date: Thu, 15 Apr 2021 00:51:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0162e951-ac58-4a93-a613-dc5de8c3d4f3 X-Archives-Hash: 6b9829083c4f6cbd3faee8bc81b6353a commit: 7c59528284fe8f76dfaf4795ff729427e0ccac84 Author: Alessandro Barbieri gmail com> AuthorDate: Thu Apr 15 00:50:12 2021 +0000 Commit: Alessandro Barbieri gmail 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 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