public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liberasurecode/
Date: Thu, 27 Aug 2015 16:01:48 +0000 (UTC)	[thread overview]
Message-ID: <1440691306.937dd6556b03fdebd4be737a6f45b71a2215233c.jlec@gentoo> (raw)

commit:     937dd6556b03fdebd4be737a6f45b71a2215233c
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 16:01:19 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 16:01:46 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=937dd655

dev-libs/liberasurecode: Fix QA problems

Respect USE=doc
drop unnecessary die
disable werror
use configure switch to handle static-libs

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild b/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild
index 662fb53..20980ab 100644
--- a/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild
+++ b/dev-libs/liberasurecode/liberasurecode-1.0.8-r1.ebuild
@@ -3,7 +3,8 @@
 # $Id$
 
 EAPI=5
-inherit autotools multilib toolchain-funcs
+
+inherit autotools eutils multilib toolchain-funcs
 
 DESCRIPTION="Erasure Code API library written in C with pluggable Erasure Code backends."
 HOMEPAGE="https://bitbucket.org/tsg-/liberasurecode/overview"
@@ -14,7 +15,7 @@ S="${WORKDIR}/tsg--${PN}-${CUSTOM_VERSION}"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc"
+IUSE="doc static-libs"
 
 RDEPEND=""
 DEPEND="sys-devel/autoconf
@@ -25,14 +26,18 @@ src_prepare() {
 		-e 's/mmx\ /mmx2\ /g' \
 		-e 's/cat\ g/#cat\ g/g' configure.ac || die
 	sed -i -e "s/^TARGET_DIR.*$/TARGET_DIR=\/usr\/share\/doc\/${PF}\/html/g" doc/Makefile.am || die
-	eautoreconf -i -v || die "autoconf failed"
+	eautoreconf -i -v
 }
 
 src_configure() {
-		econf --htmldir /usr/share/doc/${PF}
+		econf \
+			--htmldir=/usr/share/doc/${PF} \
+			--disable-werror \
+			$(use_enable doc doxygen) \
+			$(use_enable static-libs static)
 }
 
 src_install() {
-	emake DESTDIR="${D}" install
-	rm "${D}"/usr/$(get_libdir)/*.la || die
+	default
+	prune_libtool_files
 }


             reply	other threads:[~2015-08-27 16:01 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 16:01 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-06 19:51 [gentoo-commits] repo/gentoo:master commit in: dev-libs/liberasurecode/ Sam James
2025-07-27  7:14 Sam James
2025-07-27  7:14 Sam James
2024-01-30  5:10 Sam James
2022-09-15 15:10 Andreas Sturmlechner
2022-09-15 11:31 Sam James
2022-09-15  6:47 Agostino Sarubbo
2022-04-11 14:57 Matthew Thode
2021-01-10 21:42 Matthew Thode
2020-12-10 16:50 Matthew Thode
2020-11-10 22:54 Matthew Thode
2019-06-27 15:25 Matthew Thode
2019-06-07 15:59 Matthew Thode
2018-09-28 20:33 Matt Thode
2018-09-22 20:22 Matt Thode
2018-06-30 19:01 Matt Thode
2018-05-30  7:15 Matt Thode
2017-03-26  4:16 Matt Thode
2017-02-27  3:17 Matt Thode
2015-08-27 15:41 Matt Thode

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=1440691306.937dd6556b03fdebd4be737a6f45b71a2215233c.jlec@gentoo \
    --to=jlec@gentoo.org \
    --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