summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-02-14 20:42:25 +0000
committerPeter Volkov <pva@gentoo.org>2010-02-14 20:42:25 +0000
commita5ffbffe36bec93f6c25c39637f93f9ea5e66cbb (patch)
tree37380209762649f9de5e4b9891940ab2dfa0f1c0 /net-libs/libosip
parentInitial import of caesars, needed for Rudy. (diff)
downloadgentoo-2-a5ffbffe36bec93f6c25c39637f93f9ea5e66cbb.tar.gz
gentoo-2-a5ffbffe36bec93f6c25c39637f93f9ea5e66cbb.tar.bz2
gentoo-2-a5ffbffe36bec93f6c25c39637f93f9ea5e66cbb.zip
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)
Diffstat (limited to 'net-libs/libosip')
-rw-r--r--net-libs/libosip/ChangeLog6
-rw-r--r--net-libs/libosip/libosip-3.3.0.ebuild32
2 files changed, 8 insertions, 30 deletions
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 <pva@gentoo.org> 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
}