projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix segfault with evince
[hvlinux.git]
/
stage1
/
pkg
/
gettext
diff --git
a/stage1/pkg/gettext
b/stage1/pkg/gettext
index
7bcd57a
..
cf4b78d
100644
(file)
--- a/
stage1/pkg/gettext
+++ b/
stage1/pkg/gettext
@@
-1,37
+1,18
@@
#!/bin/bash
#!/bin/bash
-CONFIGURE_OPTS="\
- --prefix=/tools \
- --build=${CLFS_HOST} \
- --host=${CLFS_TARGET} \
- ${CONFIGURE_OPTS}"
-
# 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()
{
# 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
}
gl_cv_func_wcwidth_works=yes
EOF
}
-hvconfig()
-{
- cd ${LFS_TMP}/${PACKAGE}/gettext-tools
-
- echo "Running configure with options:"
- echo " <${CONFIGURE_OPTS}>"
-
- CC="${CC} ${CLFS_BUILDFLAGS}" CXX="${CXX} ${CLFS_BUILDFLAGS}" \
- ./configure ${CONFIGURE_OPTS}
-}
-
hvbuild()
{
hvbuild()
{
- cd ${LFS_TMP}/${PACKAGE}/gettext-tools
-
${HVMAKE} -C gnulib-lib
${HVMAKE} -C src msgfmt
${HVMAKE} -C gnulib-lib
${HVMAKE} -C src msgfmt
- cp -v src/msgfmt
/tools
/bin
+ cp -v src/msgfmt
${TOOLS_DIR}
/bin
}
}