/[gentoo-x86]/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild
Gentoo

Diff of /sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild,v 1.5 2014/02/04 09:22:13 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-libs/coinor-mp/coinor-mp-1.7.6.ebuild,v 1.6 2014/02/04 10:37:56 jlec Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit autotools-utils multilib 7inherit autotools-utils multilib
8 8
22 virtual/pkgconfig" 22 virtual/pkgconfig"
23 23
24S="${WORKDIR}/${MYPN}-${PV}/${MYPN}" 24S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
25 25
26src_prepare() { 26src_prepare() {
27 # needed for the --with-coin-instdir
28 dodir /usr
27 sed -i \ 29 sed -i \
28 -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \ 30 -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \
29 configure || die 31 configure || die
30 sed -i \ 32 sed -i \
31 -e '/^addlibsdir/s/$(DESTDIR)//' \ 33 -e '/^addlibsdir/s/$(DESTDIR)//' \
34 Makefile.in || die 36 Makefile.in || die
35 autotools-utils_src_prepare 37 autotools-utils_src_prepare
36} 38}
37 39
38src_configure() { 40src_configure() {
39 # needed for the --with-coin-instdir
40 dodir /usr
41 local myeconfargs=( 41 local myeconfargs=(
42 --enable-dependency-linking 42 --enable-dependency-linking
43 --with-coin-instdir="${ED}"/usr 43 --with-coin-instdir="${ED}"/usr
44 --datadir=/usr/share 44 --datadir=/usr/share
45 ) 45 )

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20