diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-08-14 12:55:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-08-14 12:55:25 +0000 |
commit | 819c09f4fda2bba6583f4c96acd6f682f18a9808 (patch) | |
tree | 39e596f973edbc82d12fa771210b2838fac07978 /sys-apps/hdparm | |
parent | Fix copy & paste fail #519552 by René Rhéaume. (diff) | |
download | gentoo-2-819c09f4fda2bba6583f4c96acd6f682f18a9808.tar.gz gentoo-2-819c09f4fda2bba6583f4c96acd6f682f18a9808.tar.bz2 gentoo-2-819c09f4fda2bba6583f4c96acd6f682f18a9808.zip |
Add USE=static support #519868 by Guillermo A. Amaral.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r-- | sys-apps/hdparm/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/hdparm/hdparm-9.43.ebuild | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/sys-apps/hdparm/ChangeLog b/sys-apps/hdparm/ChangeLog index 4ea64cc6c866..2668294660c3 100644 --- a/sys-apps/hdparm/ChangeLog +++ b/sys-apps/hdparm/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/hdparm # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.241 2014/01/07 08:43:20 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/ChangeLog,v 1.242 2014/08/14 12:55:25 vapier Exp $ + + 14 Aug 2014; Mike Frysinger <vapier@gentoo.org> hdparm-9.43.ebuild: + Add USE=static support #519868 by Guillermo A. Amaral. 07 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> -hdparm-9.28.ebuild, -hdparm-9.36.ebuild, -hdparm-9.37.ebuild, -hdparm-9.38.ebuild: diff --git a/sys-apps/hdparm/hdparm-9.43.ebuild b/sys-apps/hdparm/hdparm-9.43.ebuild index 225a1f6aa984..f175ec4390a5 100644 --- a/sys-apps/hdparm/hdparm-9.43.ebuild +++ b/sys-apps/hdparm/hdparm-9.43.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-9.43.ebuild,v 1.2 2013/02/17 23:10:40 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/hdparm-9.43.ebuild,v 1.3 2014/08/14 12:55:25 vapier Exp $ EAPI="4" -inherit toolchain-funcs +inherit toolchain-funcs flag-o-matic DESCRIPTION="Utility to change hard drive performance parameters" HOMEPAGE="http://sourceforge.net/projects/hdparm/" @@ -13,9 +13,10 @@ SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz" LICENSE="BSD GPL-2" # GPL-2 only SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" -IUSE="" +IUSE="static" src_prepare() { + use static && append-ldflags -static sed -i \ -e "/^CFLAGS/ s:-O2:${CFLAGS}:" \ -e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \ |