Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xdvik/
Date: Wed, 21 Jun 2017 13:55:03
Message-Id: 1498053293.66048522eaaaddd322d892ba393a7f97d3811791.aballier@gentoo
1 commit: 66048522eaaaddd322d892ba393a7f97d3811791
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 21 13:54:43 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 21 13:54:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66048522
7
8 app-text/xdvik: Honour SYSROOT to fix cross compilation.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 app-text/xdvik/xdvik-22.87.03.ebuild | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/app-text/xdvik/xdvik-22.87.03.ebuild b/app-text/xdvik/xdvik-22.87.03.ebuild
16 index 76d6e684010..1b047f1617f 100644
17 --- a/app-text/xdvik/xdvik-22.87.03.ebuild
18 +++ b/app-text/xdvik/xdvik-22.87.03.ebuild
19 @@ -66,8 +66,8 @@ src_configure() {
20 --with-system-kpathsea \
21 --with-kpathsea-include="${EPREFIX}"/usr/include/kpathsea \
22 --with-xdvi-x-toolkit="${toolkit}" \
23 - --x-includes="${EPREFIX}"/usr/include \
24 - --x-libraries="${EPREFIX}"/usr/$(get_libdir)
25 + --x-includes="${SYSROOT}${EPREFIX}"/usr/include \
26 + --x-libraries="${SYSROOT}${EPREFIX}"/usr/$(get_libdir)
27 }
28
29 src_compile() {