summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-02-04 09:46:38 +0000
committerJustin Lecher <jlec@gentoo.org>2014-02-04 09:46:38 +0000
commitc12003367c1a5c250366ea337bdcbf1d57f5b490 (patch)
treeeb502736deea4bf61ce319c1663496a2d7c09486 /sci-libs
parentFixed pidfile location. Converted latest ebuild to EAPI-5 (diff)
downloadgentoo-2-c12003367c1a5c250366ea337bdcbf1d57f5b490.tar.gz
gentoo-2-c12003367c1a5c250366ea337bdcbf1d57f5b490.tar.bz2
gentoo-2-c12003367c1a5c250366ea337bdcbf1d57f5b490.zip
Add missing die and use usex; user proper autotools-utils functions
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/coinor-alps/ChangeLog5
-rw-r--r--sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild13
2 files changed, 10 insertions, 8 deletions
diff --git a/sci-libs/coinor-alps/ChangeLog b/sci-libs/coinor-alps/ChangeLog
index fa16e40110e3..6cbb4254699f 100644
--- a/sci-libs/coinor-alps/ChangeLog
+++ b/sci-libs/coinor-alps/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/coinor-alps
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-alps/ChangeLog,v 1.3 2014/02/04 07:43:03 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-alps/ChangeLog,v 1.4 2014/02/04 09:46:38 jlec Exp $
+
+ 04 Feb 2014; Justin Lecher <jlec@gentoo.org> coinor-alps-1.4.9.ebuild:
+ Add missing die and use usex; user proper autotools-utils functions
*coinor-alps-1.4.9 (04 Feb 2014)
diff --git a/sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild b/sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild
index e49ee08c6c12..da2e46692007 100644
--- a/sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild
+++ b/sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild,v 1.1 2014/02/04 07:43:03 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-alps/coinor-alps-1.4.9.ebuild,v 1.2 2014/02/04 09:46:38 jlec Exp $
EAPI=5
@@ -36,7 +36,8 @@ src_prepare() {
# bug for later versions of subversions
sed -i \
-e 's/xexported/xexported -a "x$svn_rev_tmp" != "xUnversioned directory"/' \
- configure
+ configure || die
+ autotools-utils_src_prepare
}
src_configure() {
@@ -49,17 +50,15 @@ src_configure() {
}
src_compile() {
- autotools-utils_src_compile all $(use doc && echo doxydoc)
+ autotools-utils_src_compile all $(usex doc doxydoc "")
}
src_test() {
- pushd "${BUILD_DIR}" > /dev/null || die
- emake test
- popd > /dev/null || die
+ autotools-utils_src_test test
}
src_install() {
- use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/")
+ use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/.")
autotools-utils_src_install
if use examples; then
insinto /usr/share/doc/${PF}