aboutsummaryrefslogtreecommitdiff
path: root/xorg/libX11/build
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/libX11/build')
-rwxr-xr-xxorg/libX11/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/xorg/libX11/build b/xorg/libX11/build
new file mode 100755
index 00000000..a7d53475
--- /dev/null
+++ b/xorg/libX11/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+CFLAGS_FOR_BUILD=-fPIC \
+./configure \
+ --prefix=/usr \
+ --enable-static
+
+make
+make DESTDIR="$1" install
+
+# This will be removed once 'xorgproto' 2019.2
+# is released.
+rm -f "$1/usr/include/X11/extensions/XKBgeom.h"