Skip to content

Commit

Permalink
sci-matchematics/glpk: respect EPREFIX
Browse files Browse the repository at this point in the history
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: gentoo#7238
  • Loading branch information
mmokrejs authored and tonyvroon committed Jul 13, 2018
1 parent eade93a commit 424ab08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sci-mathematics/glpk/glpk-4.63.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 424ab08

Please sign in to comment.