summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-02-04 09:57:27 +0000
committerJustin Lecher <jlec@gentoo.org>2014-02-04 09:57:27 +0000
commita406bd354b892fd6ff497c982afc450cb64b2a47 (patch)
treea8eb26e245718fc72ec209004c242b158b8b3948 /sci-libs/coinor-cbc
parentMove preparations to src_prepare (diff)
downloadgentoo-2-a406bd354b892fd6ff497c982afc450cb64b2a47.tar.gz
gentoo-2-a406bd354b892fd6ff497c982afc450cb64b2a47.tar.bz2
gentoo-2-a406bd354b892fd6ff497c982afc450cb64b2a47.zip
Move preparations to src_prepare
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs/coinor-cbc')
-rw-r--r--sci-libs/coinor-cbc/ChangeLog5
-rw-r--r--sci-libs/coinor-cbc/coinor-cbc-2.8.9.ebuild9
2 files changed, 9 insertions, 5 deletions
diff --git a/sci-libs/coinor-cbc/ChangeLog b/sci-libs/coinor-cbc/ChangeLog
index 30f35db8602b..7f77e8f809a5 100644
--- a/sci-libs/coinor-cbc/ChangeLog
+++ b/sci-libs/coinor-cbc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/coinor-cbc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cbc/ChangeLog,v 1.3 2014/02/04 08:28:52 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cbc/ChangeLog,v 1.4 2014/02/04 09:57:27 jlec Exp $
+
+ 04 Feb 2014; Justin Lecher <jlec@gentoo.org> coinor-cbc-2.8.9.ebuild:
+ Move preparations to src_prepare
*coinor-cbc-2.8.9 (04 Feb 2014)
diff --git a/sci-libs/coinor-cbc/coinor-cbc-2.8.9.ebuild b/sci-libs/coinor-cbc/coinor-cbc-2.8.9.ebuild
index 4744843b187c..8c8c5f1f9c8f 100644
--- a/sci-libs/coinor-cbc/coinor-cbc-2.8.9.ebuild
+++ b/sci-libs/coinor-cbc/coinor-cbc-2.8.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-cbc/coinor-cbc-2.8.9.ebuild,v 1.1 2014/02/04 08:28:52 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-cbc/coinor-cbc-2.8.9.ebuild,v 1.2 2014/02/04 09:57:27 jlec Exp $
EAPI=5
@@ -32,14 +32,15 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
src_prepare() {
+ # needed for the --with-coin-instdir
+ dodir /usr
sed -i \
-e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \
configure || die
autotools-utils_src_prepare
}
+
src_configure() {
- # needed for the --with-coin-instdir
- dodir /usr
local myeconfargs=(
--enable-dependency-linking
--with-coin-instdir="${ED}"/usr
@@ -52,7 +53,7 @@ src_compile() {
# hack for parallel build, to overcome not patching Makefile.am above
autotools-utils_src_compile -C src libCbc.la
autotools-utils_src_compile -C src libCbcSolver.la
- autotools-utils_src_compile all $(use doc && echo doxydoc)
+ autotools-utils_src_compile all $(use doc doxydoc "")
}
src_test() {