commit: 424ab08f0e139226daea9ac2834555b65544f84f Author: Martin Mokrejs <mmokrejs <AT> gmail <DOT> com> AuthorDate: Sat Apr 21 08:12:23 2018 +0000 Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org> CommitDate: Fri Jul 13 10:43:28 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=424ab08f
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 sci-mathematics/glpk/glpk-4.63.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/sci-mathematics/glpk/glpk-4.63.ebuild b/sci-mathematics/glpk/glpk-4.63.ebuild index 4721b183285..b32475f03a7 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)
