From a5ffbffe36bec93f6c25c39637f93f9ea5e66cbb Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Sun, 14 Feb 2010 20:42:25 +0000 Subject: enable-test ./configure option only enables build of extra programs, so no need to build out of sources. (Portage version: 2.1.7.17/cvs/Linux x86_64) --- net-libs/libosip/ChangeLog | 6 +++++- net-libs/libosip/libosip-3.3.0.ebuild | 32 +++----------------------------- 2 files changed, 8 insertions(+), 30 deletions(-) (limited to 'net-libs/libosip') diff --git a/net-libs/libosip/ChangeLog b/net-libs/libosip/ChangeLog index fdbc53aada46..10e38177fca2 100644 --- a/net-libs/libosip/ChangeLog +++ b/net-libs/libosip/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/libosip # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libosip/ChangeLog,v 1.36 2010/02/11 18:07:21 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libosip/ChangeLog,v 1.37 2010/02/14 20:42:25 pva Exp $ + + 14 Feb 2010; Peter Volkov libosip-3.3.0.ebuild: + enable-test ./configure option only enables build of extra programs, so no + need to build out of sources. *libosip-3.3.0 (11 Feb 2010) diff --git a/net-libs/libosip/libosip-3.3.0.ebuild b/net-libs/libosip/libosip-3.3.0.ebuild index 32643298fb05..34935823d273 100644 --- a/net-libs/libosip/libosip-3.3.0.ebuild +++ b/net-libs/libosip/libosip-3.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libosip/libosip-3.3.0.ebuild,v 1.1 2010/02/11 18:07:21 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libosip/libosip-3.3.0.ebuild,v 1.2 2010/02/14 20:42:25 pva Exp $ EAPI="2" @@ -19,8 +19,6 @@ KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="test" S=${WORKDIR}/${MY_P} -BD=${WORKDIR}/${MY_P}_build -TBD=${BD}_test src_prepare() { epatch "${FILESDIR}/${P}-out-source-build.patch" @@ -28,35 +26,11 @@ src_prepare() { } src_configure() { - # for later - --enable-hashtable - requires libdict (whatever that is) - mkdir -p "${BD}" - cd "${BD}" - ECONF_SOURCE="${S}" econf --enable-mt - if use test; then - mkdir -p "${TBD}" - cd "${TBD}" - ECONF_SOURCE="${S}" econf --enable-mt --enable-test - fi -} - -src_compile() { - cd "${BD}" - emake || die - if use test; then - cd "${TBD}" - emake || die - fi -} - -src_test() { - cd "${TBD}" - emake check || die + econf --enable-mt \ + $(use_enable test) } src_install() { - cd "${BD}" emake DESTDIR="${D}" install || die "Failed to install" - - cd "${S}" dodoc AUTHORS ChangeLog FEATURES HISTORY README NEWS TODO || die } -- cgit v1.2.3-65-gdbad