projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eade93a
)
sci-matchematics/glpk: respect EPREFIX
author
Martin Mokrejs
<mmokrejs@gmail.com>
Sat, 21 Apr 2018 08:12:23 +0000
(10:12 +0200)
committer
Tony Vroon
<chainsaw@gentoo.org>
Fri, 13 Jul 2018 10:43:28 +0000
(11:43 +0100)
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
patch
|
blob
|
history
diff --git
a/sci-mathematics/glpk/glpk-4.63.ebuild
b/sci-mathematics/glpk/glpk-4.63.ebuild
index 4721b183285238f108c318d24e8f21a30be0a771..b32475f03a75da918b0d42c2695b296d412428a8 100644
(file)
--- 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)