Replace /tools with
[hvlinux.git] / stage1 / pkg / gettext
index 902439f..0739758 100644 (file)
@@ -1,10 +1,5 @@
 #!/bin/bash
 
-hvconfig_pre()
-{
-    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:
@@ -15,17 +10,9 @@ 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
 }