X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fgettext;h=cf4b78d6f688673d226e632d136e6bae4676351e;hb=44d3c1f9f0e8fc945206020c4bd7a15c5a457f55;hp=afe372d1e397c70a38aae7ae40a632afca0289a6;hpb=81da365042d1bf4354e0480d888fe3b8425c47c7;p=hvlinux.git diff --git a/stage1/pkg/gettext b/stage1/pkg/gettext index afe372d..cf4b78d 100644 --- a/stage1/pkg/gettext +++ b/stage1/pkg/gettext @@ -1,33 +1,18 @@ #!/bin/bash -hvconfig_pre() -{ - CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ - --disable-shared" -} - # When cross-compiling the Gettext configure script assumes we don't have a # working wcwidth when we do. The following will fix possible compilation # errors because of this assumption: hvconfig_cache() { -cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF +cat > ${BUILD_DIR}/config.cache << EOF gl_cv_func_wcwidth_works=yes EOF } -hvconfig() -{ - cd ${LFS_TMP}/${PACKAGE}/gettext-tools - ./configure ${CONFIGURE_OPTS} -} - hvbuild() { - cd ${LFS_TMP}/${PACKAGE}/gettext-tools - ${HVMAKE} -C gnulib-lib ${HVMAKE} -C src msgfmt - cp -v src/msgfmt /tools/bin + cp -v src/msgfmt ${TOOLS_DIR}/bin }