CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-libxmu: fixed XMMU's flags
authorJose V Beneyto <sepen@crux.nu>
Wed, 27 Jan 2010 12:09:30 +0000 (13:09 +0100)
committerJose V Beneyto <sepen@crux.nu>
Wed, 27 Jan 2010 12:09:30 +0000 (13:09 +0100)
xorg-libxmu/Pkgfile

index ec356f9d00fe11b6879924e2deba1bc1e89fa1dd..c4161985756ac51fbd1b4a3512f272dc2ad54005 100644 (file)
@@ -6,18 +6,18 @@
 
 name=xorg-libxmu
 version=1.0.5
-release=1
+release=2
 source=(http://xorg.freedesktop.org/releases/individual/lib/libXmu-$version.tar.bz2)
 
 build() {
   cd libXmu-$version
 
-  export DEFAULT_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules"
-  export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+  export DEFAULT_LIBS="-L$CLFS/usr/lib"
+  export DEFAULT_CFLAGS="-I$CLFS/usr/include"
   export XMU_LIBS="$DEFAULT_LIBS -lXt -lSM -lICE -lXext -lX11"
-  export XMU_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/xorg"
-  export XMUU_LIBS="$XMU_LIBS"
-  export XMUU_CFLAGS="$XMU_CFLAGS"
+  export XMU_CFLAGS="$DEFAULT_CFLAGS"
+  export XMUU_LIBS="$DEFAULT_LIBS -lX11"
+  export XMUU_CFLAGS="$DEFAULT_CFLAGS"
 
   ./configure --build=$CHOST \
               --host=$CTARGET \