X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fgettext;h=cf4b78d6f688673d226e632d136e6bae4676351e;hb=fc7d8c678ca78bef7c6e7eaeeb579269b7c501be;hp=670907b94a30c3657a504987399c866101fdee36;hpb=69ac3e7cf686f8e95e47a7ab89bc38796aace488;p=hvlinux.git diff --git a/stage1/pkg/gettext b/stage1/pkg/gettext index 670907b..cf4b78d 100644 --- a/stage1/pkg/gettext +++ b/stage1/pkg/gettext @@ -3,35 +3,16 @@ # 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: -config_cache() +hvconfig_cache() { -cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF +cat > ${BUILD_DIR}/config.cache << EOF gl_cv_func_wcwidth_works=yes EOF } -hvconfigure() -{ - cd ${LFS_TMP}/${PACKAGE}/gettext-tools - - FINAL_CFG_OPTS="\ - --prefix=/tools \ - --build=${CLFS_HOST} \ - --host=${CLFS_TARGET} \ - ${CONFIGURE_OPTS}" - - echo "Running configure with options:" - echo " <${FINAL_CFG_OPTS}>" - - CC="${CC} ${CLFS_BUILDFLAGS}" CXX="${CXX} ${CLFS_BUILDFLAGS}" \ - ./configure ${FINAL_CFG_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 }