CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-server: added xrandr's library flags
authorJose V Beneyto <sepen@crux.nu>
Mon, 21 Dec 2009 09:27:59 +0000 (10:27 +0100)
committerJose V Beneyto <sepen@crux.nu>
Mon, 21 Dec 2009 09:27:59 +0000 (10:27 +0100)
xorg-server/Pkgfile

index 01d00073842ff68b0d38cfa6af3683074e4b4744..46362fa73b2734455fe25299f98c14caf3c7f664 100644 (file)
@@ -6,7 +6,7 @@
 
 name=xorg-server
 version=1.7.3
-release=1
+release=2
 source=(http://xorg.freedesktop.org/releases/individual/xserver/$name-$version.tar.bz2)
 
 build() {
@@ -23,13 +23,13 @@ build() {
   export SHA1_CFLAGS="$DEFAULT_CFLAGS"
   export XSERVERCFLAGS_LIBS="$DEFAULT_LIBS -lXfont -lXau -lpixman-1 -lXdmcp -lXv"
   export XSERVERCFLAGS_CFLAGS="$DEFAULT_CFLAGS -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/pixman-1"
-  export XSERVERLIBS_LIBS="$DEFAULT_LIBS -lXfont -lXau -lpixman-1 -lXdmcp -lXv -lcrypt -lssl"
+  export XSERVERLIBS_LIBS="$DEFAULT_LIBS -lXrandr -lXfont -lXau -lpixman-1 -lXdmcp -lXv -lcrypt -lssl"
   export XSERVERLIBS_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/pixman-1"
   export PCIACCESS_LIBS="$DEFAULT_LIBS -lpciaccess"
   export PCIACCESS_CFLAGS="$DEFAULT_CFLAGS"
   export XF86VIDMODE_LIBS="$DEFAULT_LIBS"
   export XF86VIDMODE_CFLAGS="$DEFAULT_CFLAGS"
-  export XORG_MODULES_LIBS="$DEFAULT_LIBS"
+  export XORG_MODULES_LIBS="$DEFAULT_LIBS -lXrandr"
   export XORG_MODULES_CFLAGS="$DEFAULT_CFLAGS"
  
   ./configure --build=$CHOST \