diff options
author | Martin Mokrejs <mmokrejs@gmail.com> | 2018-04-21 10:12:23 +0200 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2018-07-13 11:43:28 +0100 |
commit | 424ab08f0e139226daea9ac2834555b65544f84f (patch) | |
tree | c12d4e182987ad6a8d4f8a0a859d2294f9517ad7 /sci-mathematics | |
parent | dev-python/python-afl: Version bump to 0.7.1 (diff) | |
download | gentoo-424ab08f0e139226daea9ac2834555b65544f84f.tar.gz gentoo-424ab08f0e139226daea9ac2834555b65544f84f.tar.bz2 gentoo-424ab08f0e139226daea9ac2834555b65544f84f.zip |
sci-matchematics/glpk: respect EPREFIX
Prepend EPREFIX in front of hardcoded include path.
All modified ebuilds emerged successfully on a Gentoo::RAP host.
Bug: https://bugs.gentoo.org/597620
Closes: https://github.com/gentoo/gentoo/pull/7238
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/glpk/glpk-4.63.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sci-mathematics/glpk/glpk-4.63.ebuild b/sci-mathematics/glpk/glpk-4.63.ebuild index 4721b1832852..b32475f03a75 100644 --- a/sci-mathematics/glpk/glpk-4.63.ebuild +++ b/sci-mathematics/glpk/glpk-4.63.ebuild @@ -29,6 +29,7 @@ PATCHES=( ) src_prepare() { + sed -e 's#CPPFLAGS="-I/usr/include/mysql#CPPFLAGS="-I'"${EPREFIX}"'/usr/include/mysql#' -i configure.ac || die use odbc && [[ -z $(type -P odbc_config) ]] && \ append-cppflags $($(tc-getPKG_CONFIG) --cflags libiodbc) |