summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2012-09-14 17:35:15 +0000
committerIan Stakenvicius <axs@gentoo.org>2012-09-14 17:35:15 +0000
commita5aba5939bc895b11f9326eadb23961f1d6efc59 (patch)
tree2d29650df790d035605e3f340936f0d97e67dced /app-misc/lirc
parentStable for amd64, wrt bug #432828 (diff)
downloadgentoo-2-a5aba5939bc895b11f9326eadb23961f1d6efc59.tar.gz
gentoo-2-a5aba5939bc895b11f9326eadb23961f1d6efc59.tar.bz2
gentoo-2-a5aba5939bc895b11f9326eadb23961f1d6efc59.zip
added static-libs use flag to disable default installation of static libs
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/lirc')
-rw-r--r--app-misc/lirc/ChangeLog5
-rw-r--r--app-misc/lirc/lirc-0.9.0-r2.ebuild11
2 files changed, 11 insertions, 5 deletions
diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog
index 3ab8ff84cce8..47708b0f9d90 100644
--- a/app-misc/lirc/ChangeLog
+++ b/app-misc/lirc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/lirc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.229 2012/07/19 19:52:18 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.230 2012/09/14 17:35:15 axs Exp $
+
+ 14 Sep 2012; Ian Stakenvicius <axs@gentoo.org> lirc-0.9.0-r2.ebuild:
+ added static-libs use flag to disable default installation of static libs
*lirc-0.9.0-r2 (19 Jul 2012)
diff --git a/app-misc/lirc/lirc-0.9.0-r2.ebuild b/app-misc/lirc/lirc-0.9.0-r2.ebuild
index a74c091a2d33..6ad4c1210947 100644
--- a/app-misc/lirc/lirc-0.9.0-r2.ebuild
+++ b/app-misc/lirc/lirc-0.9.0-r2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.9.0-r2.ebuild,v 1.1 2012/07/19 19:52:18 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.9.0-r2.ebuild,v 1.2 2012/09/14 17:35:15 axs Exp $
EAPI=4
-inherit eutils linux-mod linux-info flag-o-matic autotools
+inherit eutils linux-mod linux-info toolchain-funcs flag-o-matic autotools
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
HOMEPAGE="http://www.lirc.org/"
@@ -20,7 +20,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug doc X hardware-carrier transmitter"
+IUSE="debug doc hardware-carrier transmitter static-libs X"
S="${WORKDIR}/${MY_P}"
@@ -279,7 +279,7 @@ pkg_setup() {
filter-flags -Wl,-O1
- # force non-parallel make, Bug 196134
+ # force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2)
MAKEOPTS="${MAKEOPTS} -j1"
}
@@ -332,6 +332,7 @@ src_configure() {
--with-kerneldir="${KV_DIR}" \
--with-moduledir="/lib/modules/${KV_FULL}/misc" \
$(use_enable debug) \
+ $(use_enable static-libs static) \
$(use_with X x) \
${MY_OPTS} \
ABI="${KERNEL_ABI}" \
@@ -373,6 +374,8 @@ src_install() {
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
fi
+
+ use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la"
}
pkg_preinst() {