# Description: X client library
# URL: http://xorg.freedesktop.org
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
-# Depends on: xorg-libxcb xorg-xextproto xorg-xtrans org-kbproto xorg-inputproto
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: xorg-libxcb xorg-xextproto xorg-xtrans xorg-kbproto xorg-inputproto
name=xorg-libx11
version=1.3.2
-release=1
+release=2
source=(http://xorg.freedesktop.org/releases/individual/lib/libX11-$version.tar.bz2)
build() {
sed -i configure \
-e "s|KEYSYMDEF=.*|KEYSYMDEF=\"$CLFS/usr/include/X11/keysymdef.h\"|"
- export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs"
+ export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs -lxcb "
export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+ export X11_CFLAGS="$X11_CFLAGS -I$CLFS/usr/include/X11/Xtrans"
export XPROTO_LIBS="$X11_LIBS"
export XPROTO_CFLAGS="$X11_CFLAGS"
export XKBPROTO_LIBS="$X11_LIBS"
export XKBPROTO_CFLAGS="$X11_CFLAGS"
- export XDMCP_LIBS="$X11_LIBS"
+ export XDMCP_LIBS="$X11_LIBS -lXdmcp"
export XDMCP_CFLAGS="$X11_CFLAGS"
./configure --build=$CHOST \