summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-15 17:36:56 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-15 17:36:56 +0000
commit3e6181ca18e4a865b521714357973f489a84faa9 (patch)
tree07c4b8ce5736af5bfa51754f6c20d3ec4396a458 /x11-misc/gmrun
parentVersion bump. (diff)
downloadgentoo-2-3e6181ca18e4a865b521714357973f489a84faa9.tar.gz
gentoo-2-3e6181ca18e4a865b521714357973f489a84faa9.tar.bz2
gentoo-2-3e6181ca18e4a865b521714357973f489a84faa9.zip
Force at least glibc 2.10 for elibc_glibc in order to remove ugly has_version and epatch combination
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/gmrun')
-rw-r--r--x11-misc/gmrun/gmrun-0.9.2-r1.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/x11-misc/gmrun/gmrun-0.9.2-r1.ebuild b/x11-misc/gmrun/gmrun-0.9.2-r1.ebuild
index 373ee07fdf2a..a83b6e7e8d5e 100644
--- a/x11-misc/gmrun/gmrun-0.9.2-r1.ebuild
+++ b/x11-misc/gmrun/gmrun-0.9.2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/gmrun/gmrun-0.9.2-r1.ebuild,v 1.2 2010/08/09 22:07:40 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gmrun/gmrun-0.9.2-r1.ebuild,v 1.3 2011/04/15 17:36:56 ssuominen Exp $
EAPI=2
inherit autotools eutils
@@ -12,19 +12,19 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE=""
+IUSE="elibc_glibc"
RDEPEND="x11-libs/gtk+:2
dev-libs/popt"
DEPEND="${RDEPEND}
dev-util/pkgconfig
- sys-apps/sed"
+ sys-apps/sed
+ elibc_glibc? ( >=sys-libs/glibc-2.10 )"
src_prepare() {
- epatch "${FILESDIR}"/${P}-gcc43.patch \
- "${FILESDIR}"/${P}-sysconfdir.patch
-
- has_version ">=sys-libs/glibc-2.10" && epatch \
+ epatch \
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-sysconfdir.patch \
"${FILESDIR}"/${P}-glibc210.patch
# Disable check for STLport due to bug #164339