Corrected get_pkg_name not woriking for udev
[hvlinux.git] / stage1 / cis-util-linux-ng
index 8d16906..18c8d34 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 set -o errexit
 
 # First argument of this script is the package name.
@@ -16,8 +16,14 @@ source ../packages-list
 # Applying patches (if any)
 apply_patches ${PACKAGE}
 
-${SCRDIR}/cis-common2 ${PACKAGE} "${CONFIGURE_OPTS} --enable-login-utils --disable-makeinstall-chown"
 cd ${LFS_TMP}/${PACKAGE}-build
+
+CC="${CC} ${CLFS_BUILDFLAGS}" CXX="${CXX} ${CLFS_BUILDFLAGS}" \
+    ../${PACKAGE}/configure \
+    --build=${CLFS_HOST} \
+    --host=${CLFS_TARGET} \
+    --enable-login-utils \
+    --disable-makeinstall-chown
 ${HVMAKE}
 ${HVMAKE} DESTDIR=${LFS} install