diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-01-12 16:34:10 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-01-12 16:34:10 +0000 |
commit | 468938c2d92c2d99f50b6e11ac9b9ab84253e2d8 (patch) | |
tree | 6a25cfddab5b1b901a871302ddfe80b9256cc951 /app-accessibility/sphinx3/sphinx3-0.8.ebuild | |
parent | Version bump. (diff) | |
download | historical-468938c2d92c2d99f50b6e11ac9b9ab84253e2d8.tar.gz historical-468938c2d92c2d99f50b6e11ac9b9ab84253e2d8.tar.bz2 historical-468938c2d92c2d99f50b6e11ac9b9ab84253e2d8.zip |
Fix invalid use of autotools-utils.eclass.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'app-accessibility/sphinx3/sphinx3-0.8.ebuild')
-rw-r--r-- | app-accessibility/sphinx3/sphinx3-0.8.ebuild | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/app-accessibility/sphinx3/sphinx3-0.8.ebuild b/app-accessibility/sphinx3/sphinx3-0.8.ebuild index 08fa4df81c44..33a795579518 100644 --- a/app-accessibility/sphinx3/sphinx3-0.8.ebuild +++ b/app-accessibility/sphinx3/sphinx3-0.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinx3/sphinx3-0.8.ebuild,v 1.1 2011/11/17 17:45:56 neurogeek Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinx3/sphinx3-0.8.ebuild,v 1.2 2012/01/12 16:34:10 mgorny Exp $ EAPI=3 PYTHON_DEPEND="python? 2:2.6" @@ -22,18 +22,16 @@ RDEPEND="${DEPEND}" RESTRICT_PYTHON_ABIS="3*" +# Due to generated Python setup.py. +AUTOTOOLS_IN_SOURCE_BUILD=1 + src_prepare() { epatch "${FILESDIR}/${P}_heap_fix.patch" eprefixify 'python/setup.py' } -src_configure() { - econf \ - $( use_enable static-libs static ) -} - src_compile() { - default + autotools-utils_src_compile if use python; then python_copy_sources python @@ -47,9 +45,8 @@ src_compile() { } src_install() { - emake DESTDIR="${D}" install || die - - dodoc AUTHORS ChangeLog NEWS README + local DOCS=( AUTHORS ChangeLog NEWS README ) + autotools-utils_src_install if use doc; then cd doc @@ -57,7 +54,6 @@ src_install() { fi if use python; then - installing() { "$(PYTHON)" setup.py install \ --install-lib="${D}/$(python_get_sitedir)" @@ -65,6 +61,4 @@ src_install() { python_execute_function -s --source-dir python installing fi - - remove_libtool_files } |