From 6e6f4ec16d88c006fb2a009b516d087f88f13dee Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 6 Jul 2021 15:09:49 +0300 Subject: [PATCH] libXmeta: fix pkgconfig location --- xorg/libXmeta/build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xorg/libXmeta/build b/xorg/libXmeta/build index 6e518ca6..43ddd90d 100755 --- a/xorg/libXmeta/build +++ b/xorg/libXmeta/build @@ -8,6 +8,12 @@ make make DESTDIR="$1" install +# Some X11 packages install to /usr/share. +! [ -d "$1/usr/share/pkgconfig" ] || { + mkdir -p "$1/usr/lib" + mv -f "$1/usr/share/pkgconfig" "$1/usr/lib" +} + # Remove library documentation. # False positive. # shellcheck disable=2115