aboutsummaryrefslogtreecommitdiff
path: root/xorg
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-10-28 18:50:57 +0200
committerCem Keylan <cem@ckyln.com>2021-10-28 18:50:57 +0200
commitcce3f729437f892a74307af2e69843050a622cff (patch)
treed16a947654436440b708d4351450f715fa309538 /xorg
parentcba50bc127772fd7fe8301ec317360f09ad01c93 (diff)
downloadrepository-cce3f729437f892a74307af2e69843050a622cff.tar.gz
xorg-server: fix
Diffstat (limited to 'xorg')
-rwxr-xr-xxorg/xorg-server/build15
1 files changed, 6 insertions, 9 deletions
diff --git a/xorg/xorg-server/build b/xorg/xorg-server/build
index bfee9e39..a45dc211 100755
--- a/xorg/xorg-server/build
+++ b/xorg/xorg-server/build
@@ -1,11 +1,12 @@
#!/bin/sh -e
-export DESTDIR=$PWD/tmp
+export xcvt=$PWD/tmp
(
+ export DESTDIR=$xcvt
cd xcvt
- # Make it a static library
+ # Make it a static library, so we don't need it.
clsed 's,shared_library,static_library,' lib/meson.build
cl-meson \
@@ -17,10 +18,9 @@ export DESTDIR=$PWD/tmp
patch -p1 < rootless_modesetting.patch
-export LIBXCVT_CFLAGS="-I$DESTDIR/usr/include"
-export LIBXCVT_LIBS="-L$DESTDIR/usr/lib -lxcvt"
-export PKG_CONFIG_PATH="$DESTDIR/usr/lib/pkgconfig"
-export DESTDIR=$1
+export LIBXCVT_CFLAGS="-I$xcvt/usr/include"
+export LIBXCVT_LIBS="-L$xcvt/usr/lib -lxcvt"
+export PKG_CONFIG_PATH="$xcvt/usr/lib/pkgconfig"
./configure \
--prefix=/usr \
@@ -40,6 +40,3 @@ make
make DESTDIR="$1" install
rm -f "$1/usr/share/X11/xorg.conf.d/10-evdev.conf"
-
-clman tmp/usr/share/man/man1/cvt.1
-clinst -Dm755