x11-misc/compose-tables: Pass keysymdefdir

We don't want to look at the host's keysymdef.h, but the target board's
version.

--with-keysymdefdir=DIR The location of keysymdef.h (defaults to xproto
                        include dir)

Without this change we get the following:

    checking keysym definitions...  /usr/include/X11/keysymdef.h
    /usr/include/X11/XF86keysym.h /usr/include/X11/Sunkeysym.h
    /usr/include/X11/DECkeysym.h /usr/include/X11/HPkeysym.h

With this change:

    checking keysym definitions...
    /build/arm64-generic/usr/include/X11/keysymdef.h
    /build/arm64-generic/usr/include/X11/XF86keysym.h
    /build/arm64-generic/usr/include/X11/Sunkeysym.h
    /build/arm64-generic/usr/include/X11/DECkeysym.h
    /build/arm64-generic/usr/include/X11/HPkeysym.h

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Raul E Rangel
2023-03-21 13:20:36 -06:00
committed by Matt Turner
parent 7edade2579
commit ff99b5fb1b

View File

@@ -27,6 +27,7 @@ XORG_CONFIGURE_OPTIONS=(
--without-fop
--disable-specs
--disable-xkb
--with-keysymdefdir="${ESYSROOT}/usr/include/X11"
)
src_compile() {