Xorg Libraries: Fix some directories not being removed after compilation.

Notable dirs not getting deleted are libpciaccess-*/ and xtrans-*/.
This commit is contained in:
Zeckmathederg 2024-08-03 16:09:25 -06:00
parent 3db057d457
commit 0baa68caf2
2 changed files with 8 additions and 2 deletions

View File

@ -42,6 +42,10 @@
<listitem>
<para>August 3rd, 2024</para>
<itemizedlist>
<listitem>
<para>[Zeckmathederg] - Xorg Libraries: Fix some directories not
being removed after compilation.</para>
</listitem>
<listitem>
<para>[Zeckmathederg] - NVIDIA: Make necessary packages that follow
that need to be installed more clear.</para>

View File

@ -185,7 +185,8 @@ do
ninja
#ninja test
as_root ninja install
popd # $packagedir
popd # $packagedir
rm -rf $packagedir
continue # for loop
;;
@ -238,7 +239,6 @@ do
libpciaccess* )
mkdir build
cd build
rm -rf * # ensure build directory is truly empty as it may not be
CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH=$XORG_PREFIX/lib32/pkgconfig \
meson setup --prefix=$XORG_PREFIX $libdir --buildtype=release ..
ninja
@ -248,6 +248,7 @@ do
rm -rf DESTDIR
as_root /sbin/ldconfig
popd # $packagedir
rm -rf $packagedir
continue # for loop
;;
@ -259,6 +260,7 @@ do
as_root cp -vr DESTDIR/$XORG_PREFIX/share/pkgconfig/* $XORG_PREFIX/lib32/pkgconfig
rm -rf DESTDIR
popd
rm -rf $packagedir
continue
;;