diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-13 18:56:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-11-13 18:56:12 +0000 |
commit | 802ad0607cf0b088d5ba9b6b6692f2b239b52533 (patch) | |
tree | 3c30a41bbc781815bf7d2afd00038df085c06db1 /dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild | |
parent | Add qt4 use dependency on poppler. Bug #378381 (diff) | |
download | gentoo-2-802ad0607cf0b088d5ba9b6b6692f2b239b52533.tar.gz gentoo-2-802ad0607cf0b088d5ba9b6b6692f2b239b52533.tar.bz2 gentoo-2-802ad0607cf0b088d5ba9b6b6692f2b239b52533.zip |
Convert USE=nocxx to USE=cxx.
(Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild')
-rw-r--r-- | dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild b/dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild index e981dfbbae9e..f3bae3307e89 100644 --- a/dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild +++ b/dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild,v 1.1 2011/03/04 14:59:14 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/boehm-gc/boehm-gc-7.1-r1.ebuild,v 1.2 2011/11/13 18:56:12 vapier Exp $ inherit eutils @@ -14,12 +14,7 @@ SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${MY_P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86" -IUSE="nocxx threads" - -RDEPEND="" - -DEPEND="${RDEPEND} - >=sys-apps/sed-4" +IUSE="cxx threads" src_unpack() { unpack ${A} @@ -31,17 +26,9 @@ src_unpack() { } src_compile() { - local myconf="" - - if use nocxx ; then - myconf="${myconf} --disable-cplusplus" - else - myconf="${myconf} --enable-cplusplus" - fi - - use threads || myconf="${myconf} --disable-threads" - - econf ${myconf} + econf \ + $(use_enable cxx cplusplus) \ + $(use threads || echo --disable-threads) emake || die } |