summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-02-04 08:49:29 +0000
committerJustin Lecher <jlec@gentoo.org>2014-02-04 08:49:29 +0000
commitcc5056d641c3677aeae724c58408daaa11bdfefb (patch)
treeff50f52c390c0b52371f1913b9c246a0c3716d67 /sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild
parentFix the common coinor pkg-config installation problem (diff)
downloadgentoo-2-cc5056d641c3677aeae724c58408daaa11bdfefb.tar.gz
gentoo-2-cc5056d641c3677aeae724c58408daaa11bdfefb.tar.bz2
gentoo-2-cc5056d641c3677aeae724c58408daaa11bdfefb.zip
Fix the common coinor pkg-config installation problem
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild')
-rw-r--r--sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild b/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild
index b6537f704d8b..ba77f46c9cb2 100644
--- a/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild
+++ b/sci-libs/coinor-mp/coinor-mp-1.7.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-mp/coinor-mp-1.7.6.ebuild,v 1.2 2014/01/15 20:11:28 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild,v 1.3 2014/02/04 08:49:29 jlec Exp $
EAPI=5
@@ -27,11 +27,17 @@ src_prepare() {
sed -i \
-e '/addlibsdir/s/$(DESTDIR)//' \
Makefile.in || die
+ -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
)
autotools-utils_src_configure
}