summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-05-01 13:47:34 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-05-01 13:47:34 +0000
commit97522a14dc7e62a14122a1e789311af868e90f78 (patch)
treea65ecd16ec1bb6af78956d0f0b43c1551823fdca /sys-apps/smartmontools
parentstable on ppc, bug 268091 (diff)
downloadgentoo-2-97522a14dc7e62a14122a1e789311af868e90f78.tar.gz
gentoo-2-97522a14dc7e62a14122a1e789311af868e90f78.tar.bz2
gentoo-2-97522a14dc7e62a14122a1e789311af868e90f78.zip
Per bug #267982, add a description of what USE=minimal does, and issue an info message when you have it enabled.
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/smartmontools')
-rw-r--r--sys-apps/smartmontools/ChangeLog9
-rw-r--r--sys-apps/smartmontools/metadata.xml3
-rw-r--r--sys-apps/smartmontools/smartmontools-5.38.ebuild5
3 files changed, 13 insertions, 4 deletions
diff --git a/sys-apps/smartmontools/ChangeLog b/sys-apps/smartmontools/ChangeLog
index 4a867d974a38..2f5071d4600f 100644
--- a/sys-apps/smartmontools/ChangeLog
+++ b/sys-apps/smartmontools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/smartmontools
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.80 2008/06/16 03:23:16 jer Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.81 2009/05/01 13:47:34 robbat2 Exp $
+
+ 01 May 2009; Robin H. Johnson <robbat2@gentoo.org> metadata.xml,
+ smartmontools-5.38.ebuild:
+ Per bug #267982, add a description of what USE=minimal does, and issue an
+ info message when you have it enabled.
16 Jun 2008; Jeroen Roovers <jer@gentoo.org> smartmontools-5.38.ebuild:
Stable for HPPA (bug #225935).
diff --git a/sys-apps/smartmontools/metadata.xml b/sys-apps/smartmontools/metadata.xml
index 96a2d586367d..29294b28c6ec 100644
--- a/sys-apps/smartmontools/metadata.xml
+++ b/sys-apps/smartmontools/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
+<use>
+<flag name='minimal'>Do not install the monitoring daemon and associated scripts.</flag>
+</use>
</pkgmetadata>
diff --git a/sys-apps/smartmontools/smartmontools-5.38.ebuild b/sys-apps/smartmontools/smartmontools-5.38.ebuild
index 50be2fe025f0..ff5889e85ece 100644
--- a/sys-apps/smartmontools/smartmontools-5.38.ebuild
+++ b/sys-apps/smartmontools/smartmontools-5.38.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.38.ebuild,v 1.6 2008/06/16 03:23:16 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.38.ebuild,v 1.7 2009/05/01 13:47:34 robbat2 Exp $
inherit flag-o-matic
@@ -17,6 +17,7 @@ RDEPEND=""
DEPEND=""
src_compile() {
+ use minimal && einfo "Skipping the monitoring daemon for minimal build."
use static && append-ldflags -static
econf || die
emake || die