summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-01-16 23:08:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-01-16 23:08:55 +0000
commit9497b495886675aa4273077c1b56b1f1251de8e5 (patch)
tree137e801dce3edb02f7302c4e37858cbe35a3f9f1 /sys-apps
parentStable for amd64, wrt bug #396359 (diff)
downloadgentoo-2-9497b495886675aa4273077c1b56b1f1251de8e5.tar.gz
gentoo-2-9497b495886675aa4273077c1b56b1f1251de8e5.tar.bz2
gentoo-2-9497b495886675aa4273077c1b56b1f1251de8e5.zip
USE="static-libs" to control building of libsensors.a wrt #378265 by Agostino Sarubbo
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/lm_sensors/ChangeLog6
-rw-r--r--sys-apps/lm_sensors/lm_sensors-3.3.1.ebuild8
2 files changed, 11 insertions, 3 deletions
diff --git a/sys-apps/lm_sensors/ChangeLog b/sys-apps/lm_sensors/ChangeLog
index 900884f04a52..14adb6c7a184 100644
--- a/sys-apps/lm_sensors/ChangeLog
+++ b/sys-apps/lm_sensors/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/lm_sensors
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.120 2012/01/16 23:01:50 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.121 2012/01/16 23:08:55 ssuominen Exp $
+
+ 16 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> lm_sensors-3.3.1.ebuild:
+ USE="static-libs" to control building of libsensors.a wrt #378265 by Agostino
+ Sarubbo
16 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> lm_sensors-3.3.1.ebuild:
Move virtual/logger behind USE="sensord" wrt #386609 by Arne Stäcker
diff --git a/sys-apps/lm_sensors/lm_sensors-3.3.1.ebuild b/sys-apps/lm_sensors/lm_sensors-3.3.1.ebuild
index ed075b08c11e..91837e16909a 100644
--- a/sys-apps/lm_sensors/lm_sensors-3.3.1.ebuild
+++ b/sys-apps/lm_sensors/lm_sensors-3.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.3.1.ebuild,v 1.2 2012/01/16 23:01:50 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.3.1.ebuild,v 1.3 2012/01/16 23:08:55 ssuominen Exp $
EAPI=3
inherit eutils linux-info toolchain-funcs multilib
@@ -12,7 +12,7 @@ SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86 ~x86-linux"
-IUSE="sensord"
+IUSE="sensord static-libs"
RDEPEND="dev-lang/perl
sensord? ( virtual/logger )"
@@ -35,6 +35,10 @@ src_prepare() {
# Respect LDFLAGS
sed -i -e 's/\$(LIBDIR)$/\$(LIBDIR) \$(LDFLAGS)/g' Makefile || die
+
+ if ! use static-libs; then
+ sed -i -e '/^BUILD_STATIC_LIB/d' Makefile || die
+ fi
}
src_compile() {