aboutsummaryrefslogtreecommitdiff
path: root/xorg/xorg-server/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-11-01 10:22:46 +0100
committerCem Keylan <cem@ckyln.com>2021-11-01 10:22:46 +0100
commitcf4ded32819ad2797fc0f97577c2b5ea31c48d87 (patch)
tree32836230bf4559b12a5bfa2296e0a83f164ba4f0 /xorg/xorg-server/build
parent0168eabf9f75fa5357feea8b1b3b4698daca0076 (diff)
downloadrepository-cf4ded32819ad2797fc0f97577c2b5ea31c48d87.tar.gz
xorg-server: install libxcvt
Diffstat (limited to 'xorg/xorg-server/build')
-rwxr-xr-xxorg/xorg-server/build12
1 files changed, 6 insertions, 6 deletions
diff --git a/xorg/xorg-server/build b/xorg/xorg-server/build
index a45dc211..086d0c6b 100755
--- a/xorg/xorg-server/build
+++ b/xorg/xorg-server/build
@@ -1,12 +1,12 @@
#!/bin/sh -e
-export xcvt=$PWD/tmp
+export DESTDIR=$1
(
- export DESTDIR=$xcvt
cd xcvt
- # Make it a static library, so we don't need it.
+ # This is a really small library that is probably only needed by
+ # xorg-server. We are going to build it statically.
clsed 's,shared_library,static_library,' lib/meson.build
cl-meson \
@@ -18,9 +18,9 @@ export xcvt=$PWD/tmp
patch -p1 < rootless_modesetting.patch
-export LIBXCVT_CFLAGS="-I$xcvt/usr/include"
-export LIBXCVT_LIBS="-L$xcvt/usr/lib -lxcvt"
-export PKG_CONFIG_PATH="$xcvt/usr/lib/pkgconfig"
+export LIBXCVT_CFLAGS="-I$1/usr/include"
+export LIBXCVT_LIBS="-L$1/usr/lib -lxcvt"
+export PKG_CONFIG_PATH="$1/usr/lib/pkgconfig"
./configure \
--prefix=/usr \