Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xorg-cf-files/
Date: Tue, 25 May 2021 08:25:16
Message-Id: 1621931047.d859320aa840dfea6974ffb13443441bf45a294e.dlan@gentoo
1 commit: d859320aa840dfea6974ffb13443441bf45a294e
2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 25 02:35:26 2021 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Tue May 25 08:24:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d859320a
7
8 x11-misc/xorg-cf-files: fix build err on ARCH=riscv
9
10 this due to $(get_libdir) expand to 'lib64/lp64d'
11 no actual functional change added
12
13 Package-Manager: Portage-3.0.18, Repoman-3.0.3
14 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
15
16 x11-misc/xorg-cf-files/xorg-cf-files-1.0.6-r2.ebuild | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 diff --git a/x11-misc/xorg-cf-files/xorg-cf-files-1.0.6-r2.ebuild b/x11-misc/xorg-cf-files/xorg-cf-files-1.0.6-r2.ebuild
20 index c44c96e2fa9..5ac95d9db22 100644
21 --- a/x11-misc/xorg-cf-files/xorg-cf-files-1.0.6-r2.ebuild
22 +++ b/x11-misc/xorg-cf-files/xorg-cf-files-1.0.6-r2.ebuild
23 @@ -37,7 +37,7 @@ src_install() {
24 default
25 echo "#define ManDirectoryRoot ${EPREFIX}/usr/share/man" >> \
26 "${ED}"/usr/$(get_libdir)/X11/config/host.def || die
27 - sed -i -e "s/LibDirName *lib$/LibDirName $(get_libdir)/" \
28 + sed -i -e "s|LibDirName *lib$|LibDirName $(get_libdir)|" \
29 "${ED}"/usr/$(get_libdir)/X11/config/Imake.tmpl || die "failed libdir sed"
30 sed -i -e "s|LibDir Concat(ProjectRoot,/lib/X11)|LibDir Concat(ProjectRoot,/$(get_libdir)/X11)|" \
31 "${ED}"/usr/$(get_libdir)/X11/config/X11.tmpl || die "failed libdir sed"