CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-libx11: fixed LIBS and CFLAGS
authorJose V Beneyto <sepen@crux.nu>
Thu, 17 Dec 2009 14:16:58 +0000 (15:16 +0100)
committerJose V Beneyto <sepen@crux.nu>
Thu, 17 Dec 2009 14:16:58 +0000 (15:16 +0100)
xorg-libx11/Pkgfile

index a40bdfb9ddd05623d41d6bbd573e667d78950510..a2f3419b98ba81961c64bca2ad7eccea07d6f91d 100644 (file)
@@ -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 \