X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage2%2Fpkg%2Fe2fsprogs;h=ed00a35e738dda8ca98f9d7173a8924a4abc74ff;hb=4e78d26dd7f5e46a21cdc916e031f1b4a68578c0;hp=99f7e687297eeac8990a66704004e4e0b72e475b;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage2/pkg/e2fsprogs b/stage2/pkg/e2fsprogs index 99f7e68..ed00a35 100644 --- a/stage2/pkg/e2fsprogs +++ b/stage2/pkg/e2fsprogs @@ -1,20 +1,34 @@ #!/bin/bash -PKG_CONFIG=true +hvconfig_pre() +{ + export PKG_CONFIG=true + + CONFIGURE_OPTS+=" \ + --with-root-prefix=\"\" \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-fsck \ + --disable-uuidd" +} + +hvconfig_post() +{ + unset PKG_CONFIG +} -CONFIGURE_OPTS="\ - --with-root-prefix="" \ - --enable-elf-shlibs \ - --disable-libblkid \ - --disable-libuuid \ - --disable-fsck \ - --disable-uuidd \ - ${CONFIGURE_OPTS}" +hvbuild() +{ + ${HVMAKE} LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \ + LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" + ${HVMAKE} install +} hvbuild_post() { # Install the static libraries and headers: - make install-libs + ${HVMAKE} install-libs # Make the installed static libraries writable so debugging symbols can be removed later: chmod -v u+w /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a