summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-02-04 10:40:50 +0000
committerJustin Lecher <jlec@gentoo.org>2014-02-04 10:40:50 +0000
commit8d1b9ee45ed9f11768b0b96000f4410c52836048 (patch)
tree6f89374ec402e4782e198942ba00278a2c9d6409 /sci-libs/coinor-osi
parentMove preparations to src_prepare (diff)
downloadgentoo-2-8d1b9ee45ed9f11768b0b96000f4410c52836048.tar.gz
gentoo-2-8d1b9ee45ed9f11768b0b96000f4410c52836048.tar.bz2
gentoo-2-8d1b9ee45ed9f11768b0b96000f4410c52836048.zip
Move preparations to src_prepare; use usex()
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs/coinor-osi')
-rw-r--r--sci-libs/coinor-osi/ChangeLog5
-rw-r--r--sci-libs/coinor-osi/coinor-osi-0.106.6.ebuild8
2 files changed, 8 insertions, 5 deletions
diff --git a/sci-libs/coinor-osi/ChangeLog b/sci-libs/coinor-osi/ChangeLog
index 01d5d0c958a9..5ed6410ca09e 100644
--- a/sci-libs/coinor-osi/ChangeLog
+++ b/sci-libs/coinor-osi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/coinor-osi
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-osi/ChangeLog,v 1.3 2014/02/03 17:47:47 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-osi/ChangeLog,v 1.4 2014/02/04 10:40:50 jlec Exp $
+
+ 04 Feb 2014; Justin Lecher <jlec@gentoo.org> coinor-osi-0.106.6.ebuild:
+ Move preparations to src_prepare; use usex()
*coinor-osi-0.106.6 (03 Feb 2014)
diff --git a/sci-libs/coinor-osi/coinor-osi-0.106.6.ebuild b/sci-libs/coinor-osi/coinor-osi-0.106.6.ebuild
index 83ae31c0d6d9..c9fe9509925f 100644
--- a/sci-libs/coinor-osi/coinor-osi-0.106.6.ebuild
+++ b/sci-libs/coinor-osi/coinor-osi-0.106.6.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-osi/coinor-osi-0.106.6.ebuild,v 1.1 2014/02/03 17:47:46 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-osi/coinor-osi-0.106.6.ebuild,v 1.2 2014/02/04 10:40:50 jlec Exp $
EAPI=5
@@ -28,6 +28,8 @@ 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
@@ -35,8 +37,6 @@ src_prepare() {
}
src_configure() {
- # needed for the --with-coin-instdir
- dodir /usr
local myeconfargs=(
--enable-dependency-linking
--with-coin-instdir="${ED}"/usr
@@ -54,7 +54,7 @@ src_configure() {
}
src_compile() {
- autotools-utils_src_compile all $(use doc && echo doxydoc)
+ autotools-utils_src_compile all $(usex doc doxydoc "")
}
src_test() {