From 3f5646a2c486d17cdd142b421afb72f3022dc651 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Sun, 6 Mar 2016 19:31:39 +0000 Subject: [PATCH] eudev: added autoreconf to use newer aclocal version anb fixed WORK directory var (thanks tilman) --- eudev/Pkgfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/eudev/Pkgfile b/eudev/Pkgfile index d9fca65..ff0f94e 100644 --- a/eudev/Pkgfile +++ b/eudev/Pkgfile @@ -17,9 +17,6 @@ build () { cd $name-$version sed -i '/^Libs:/s/-ludev/-ludev -lrt/' src/libudev/libudev.pc.in - # Forcing libtool to prioritize our sysroot - sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i m4/libtool.m4 - ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ @@ -30,8 +27,9 @@ build () { --libexecdir=/lib \ --disable-introspection \ --disable-manpages \ - --enable-split-usr - + --enable-split-usr \ + --with-sysroot=$CLFS + make CFLAGS="$CFLAGS -D_GNU_SOURCE" make install DESTDIR=$PKG make -C man install DESTDIR=$PKG @@ -40,6 +38,7 @@ build () { pushd $SRC/$name-$version-host unset CC CXX AR AS RANLIB LD CFLAGS CXXFLAGS LDFLAGS + autoreconf -vi ./configure --prefix=/usr \ --sbindir=/sbin --bindir=/sbin \ --sysconfdir=/etc \ @@ -52,12 +51,12 @@ build () { make CFLAGS="$CFLAGS -L/usr/lib -I/usr/include -D_GNU_SOURCE" - cp src/udev/udevadm $WORK/ + cp src/udev/udevadm $PKGMK_WORK_DIR/ popd # create binary hwdb LD_LIBRARY_PATH=$PKG/lib \ - $WORK/udevadm hwdb --update --root=$PKG + $PKGMK_WORK_DIR/udevadm hwdb --update --root=$PKG # Devices mkdir -p $PKG/lib/{firmware,udev/devices/{pts,shm}} -- 2.26.2