From: Mike Frysinger Date: Sat, 17 Mar 2007 00:15:11 +0000 (+0000) Subject: Add support for USE=static #170700 by Nguyen Thai Ngoc Duy. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=528ef518008b8d72503394d7853afd51aaa7afb6;p=gentoo.git Add support for USE=static #170700 by Nguyen Thai Ngoc Duy. Package-Manager: portage-2.1.2.2 --- diff --git a/sys-apps/fbset/ChangeLog b/sys-apps/fbset/ChangeLog index d13689ec351f..e551436c9d75 100644 --- a/sys-apps/fbset/ChangeLog +++ b/sys-apps/fbset/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/fbset -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fbset/ChangeLog,v 1.11 2007/02/22 01:09:08 jokey Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fbset/ChangeLog,v 1.12 2007/03/17 00:15:11 vapier Exp $ + + 17 Mar 2007; Mike Frysinger fbset-2.1.ebuild: + Add support for USE=static #170700 by Nguyen Thai Ngoc Duy. 22 Feb 2007; Markus Ullmann ChangeLog: Redigest for Manifest2 diff --git a/sys-apps/fbset/fbset-2.1.ebuild b/sys-apps/fbset/fbset-2.1.ebuild index db75f727f16e..10ee4d3d0987 100644 --- a/sys-apps/fbset/fbset-2.1.ebuild +++ b/sys-apps/fbset/fbset-2.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fbset/fbset-2.1.ebuild,v 1.31 2006/06/27 02:44:32 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fbset/fbset-2.1.ebuild,v 1.32 2007/03/17 00:15:11 vapier Exp $ inherit toolchain-funcs flag-o-matic @@ -11,7 +11,7 @@ SRC_URI="http://users.telenet.be/geertu/Linux/fbdev/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" -IUSE="" +IUSE="static" DEPEND="" @@ -26,7 +26,7 @@ src_unpack() { } src_compile() { - replace-flags -O3 -O2 + use static && append-ldflags -static emake || die "emake failed" }