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 \