Added support for pre/post configure and build functions and automatic config.cache...
[hvlinux.git] / stage1 / cis-util-linux-ng
index f86916c..18c8d34 100755 (executable)
@@ -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