From: Jose V Beneyto Date: Thu, 17 Dec 2009 14:16:58 +0000 (+0100) Subject: xorg-libx11: fixed LIBS and CFLAGS X-Git-Url: http://gitweb/?a=commitdiff_plain;h=8cfcc3892b64e66836b4d79afd410574c4264df1;p=attic%2Fports%2Fxorg-cross.git xorg-libx11: fixed LIBS and CFLAGS --- diff --git a/xorg-libx11/Pkgfile b/xorg-libx11/Pkgfile index a40bdfb..a2f3419 100644 --- a/xorg-libx11/Pkgfile +++ b/xorg-libx11/Pkgfile @@ -6,7 +6,7 @@ name=xorg-libx11 version=1.3.2 -release=1 +release=2 source=(http://xorg.freedesktop.org/releases/individual/lib/libX11-$version.tar.bz2) build() { @@ -15,13 +15,14 @@ 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 \