Upgrade to poppler-0.29.0
[hvlinux.git] / stage1 / pkg / e2fsprogs
index 159f339..a864793 100644 (file)
@@ -1,19 +1,20 @@
 #!/bin/bash
 
-hvconfigure()
+hvconfig_pre()
 {
-    cd ${LFS_TMP}/${PACKAGE}-build
+    export PKG_CONFIG=true
 
-    CC="${CC} ${CLFS_BUILDFLAGS}" PKG_CONFIG=true \
-        ../${PACKAGE}/configure \
-        --prefix=/tools \
+    CONFIGURE_OPTS+=" \
         --enable-elf-shlibs \
-        --with-linker=${LD} \
-        --host=${CLFS_TARGET} \
         --disable-libblkid \
         --disable-libuuid \
         --disable-fsck \
-        --disable-uuidd
+        --disable-uuidd"
+}
+
+hvconfig_post()
+{
+    unset PKG_CONFIG
 }
 
 hvbuild()
@@ -24,9 +25,12 @@ hvbuild()
 
     # Install the static libraries and headers:
     ${HVMAKE} install-libs
+}
 
+hvbuild_post()
+{
     # Create needed symlinks for a bootable system:
-    LINKS="fsck.ext2 fsck.ext3 fsck.ext4 e2fsck"
+    LINKS="fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev e2fsck"
 
     for link in ${LINKS}; do
         ln -svfT /tools/sbin/${link} ${LFS}/sbin/${link}