summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-24 21:19:28 +0000
committerMike Frysinger <vapier@gentoo.org>2010-01-24 21:19:28 +0000
commitd307381ff9bb514aca0e3f86d1e6c0a6a1da2fd6 (patch)
tree189009a0669c970618858e9c6bb30017c9e7fe0d /app-portage
parentVersion bump. Clean up old revisions. (diff)
downloadgentoo-2-d307381ff9bb514aca0e3f86d1e6c0a6a1da2fd6.tar.gz
gentoo-2-d307381ff9bb514aca0e3f86d1e6c0a6a1da2fd6.tar.bz2
gentoo-2-d307381ff9bb514aca0e3f86d1e6c0a6a1da2fd6.zip
Add support by Maksim Melnikau for USE=static #301993.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/portage-utils/ChangeLog6
-rw-r--r--app-portage/portage-utils/portage-utils-0.3.1.ebuild7
2 files changed, 9 insertions, 4 deletions
diff --git a/app-portage/portage-utils/ChangeLog b/app-portage/portage-utils/ChangeLog
index c9586fb2832a..b433be202628 100644
--- a/app-portage/portage-utils/ChangeLog
+++ b/app-portage/portage-utils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-portage/portage-utils
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.106 2010/01/17 00:28:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.107 2010/01/24 21:19:28 vapier Exp $
+
+ 24 Jan 2010; Mike Frysinger <vapier@gentoo.org>
+ portage-utils-0.3.1.ebuild:
+ Add support by Maksim Melnikau for USE=static #301993.
*portage-utils-0.3.1 (17 Jan 2010)
diff --git a/app-portage/portage-utils/portage-utils-0.3.1.ebuild b/app-portage/portage-utils/portage-utils-0.3.1.ebuild
index 84f2055c811c..e472c65c26a0 100644
--- a/app-portage/portage-utils/portage-utils-0.3.1.ebuild
+++ b/app-portage/portage-utils/portage-utils-0.3.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.3.1.ebuild,v 1.1 2010/01/17 00:28:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.3.1.ebuild,v 1.2 2010/01/24 21:19:28 vapier Exp $
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="small and fast portage helper tools written in C"
HOMEPAGE="http://www.gentoo.org/"
@@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
-IUSE=""
+IUSE="static"
src_unpack() {
unpack ${A}
@@ -21,6 +21,7 @@ src_unpack() {
src_compile() {
tc-export CC
+ use static && append-ldflags -static
emake || die
}