public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lib3ds/
Date: Tue,  1 Oct 2019 21:52:51 +0000 (UTC)	[thread overview]
Message-ID: <1569966753.037b13f7bd0e5f1ab5a861f5f933db7d8f6effa1.chewi@gentoo> (raw)

commit:     037b13f7bd0e5f1ab5a861f5f933db7d8f6effa1
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  1 21:51:38 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Oct  1 21:52:33 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=037b13f7

media-libs/lib3ds: Conditionally install static libs with USE flag

Closes: https://bugs.gentoo.org/485552
Closes: https://github.com/gentoo/gentoo/pull/13084
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild b/media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild
index c8e2db13f63..b663c12a29c 100644
--- a/media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild
+++ b/media-libs/lib3ds/lib3ds-2.0.0_rc1-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://lib3ds.googlecode.com/files/${MY_P}.zip"
 LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
-IUSE=""
+IUSE="static-libs"
 
 BDEPEND="app-arch/unzip"
 
@@ -21,3 +21,15 @@ S="${WORKDIR}/${MY_P}"
 PATCHES=(
 	"${FILESDIR}"/${P}-underlinking-no-autoreconf.patch
 )
+
+src_configure() {
+	econf $(use_enable static-libs static)
+}
+
+src_install() {
+	default
+
+	if ! use static-libs; then
+		rm "${ED}/usr/$(get_libdir)/${PN}.la" || die
+	fi
+}


             reply	other threads:[~2019-10-01 21:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-01 21:52 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-09  9:02 [gentoo-commits] repo/gentoo:master commit in: media-libs/lib3ds/ Arthur Zamarin
2024-11-06 13:35 Sam James
2022-03-20 21:55 Sam James
2021-04-05 15:10 Sam James
2021-02-22  7:12 Sam James
2021-02-07 23:57 Dennis Lamm
2021-02-07 23:57 Dennis Lamm
2020-12-02  0:32 Aaron Bauman
2020-10-01 23:06 Sergei Trofimovich
2020-10-01 23:06 Sergei Trofimovich
2020-10-01 22:55 Sergei Trofimovich
2020-10-01 22:55 Sergei Trofimovich
2017-08-27 15:34 Michael Palimaka

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=1569966753.037b13f7bd0e5f1ab5a861f5f933db7d8f6effa1.chewi@gentoo \
    --to=chewi@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