Fix various compilation errors
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 18 Jun 2013 02:29:53 +0000 (22:29 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Tue, 18 Jun 2013 02:35:57 +0000 (22:35 -0400)
stage2/hv-install-1
stage2/hv-install-2
stage2/pkg/kmod
stage2/pkg/ncurses
stage3/hv-install-1
stage3/pkg/git

index 65f9a7d..dfe808c 100755 (executable)
@@ -45,7 +45,7 @@ ipkg ${PKG_CONFIG}
 ipkg ${NCURSES}
 ipkg ${UTIL_LINUX}
 ipkg ${E2FSPROGS}
-FORCE_UNSAFE_CONFIGURE=1 ipkg ${COREUTILS}
+FORCE_UNSAFE_CONFIGURE=1 ipkg  -m acnb ${COREUTILS}
 ipkg -m noac ${IANA}
 ipkg ${MFOUR}
 ipkg ${BISON}
index 7a29ca4..1a820b8 100755 (executable)
@@ -41,7 +41,7 @@ ipkg -m noac ${SYSVINIT}
 FORCE_UNSAFE_CONFIGURE=1 ipkg ${TAR_PACKAGE} "--bindir=/bin --libexecdir=/usr/sbin"
 ipkg ${TEXINFO}
 ipkg ${UDEV}
-ipkg ${GRUB}
+ipkg ${GRUB} --disable-werror
 ipkg -m acnb ${DHCP}
 
 if [ -n "${WIFI_SUPPORT}" ]; then
index a119581..96b3b36 100644 (file)
@@ -8,13 +8,13 @@ hvconfig_pre()
         --bindir=/bin \
         --sysconfdir=/etc \
         --with-rootlibdir=/lib \
+        --disable-manpages  \
         --with-zlib \
         --with-xz"
 }
 
 hvbuild_post()
 {
-    # Est-ce encore nĂ©cessaire avec kmod?
     install -dv ${LFS}/etc/modprobe.d
 
     # Create symbolic links for programs that expect Module-Init-Tools:
index 739a4a2..77435e6 100644 (file)
@@ -8,6 +8,7 @@ hvconfig_pre()
         --with-shared \
         --without-debug \
         --enable-widec \
+        --with-default-terminfo-dir=/usr/share/terminfo  \
         --with-manpage-format=normal"
 }
 
@@ -22,7 +23,7 @@ hvbuild_post()
     ln -svfT ../../lib/libmenuw.so.5 /usr/lib/libmenuw.so
     ln -svfT ../../lib/libpanelw.so.5 /usr/lib/libpanelw.so
     ln -svfT ../../lib/libformw.so.5 /usr/lib/libformw.so
-    
+
     # Make our Ncurses compatible for older and non-widec compatible programs can build properly.
     # Many applications still expect the linker to be able to find
     # non-wide-character Ncurses libraries. Trick such applications
index c7a2f61..27a3589 100755 (executable)
@@ -44,7 +44,7 @@ ipkg ${PCRE} "--docdir=/usr/share/doc/pcre \
 # Networking
 ipkg -m noac -s tcp_wrappers ${TCPWRAPPERS}
 ipkg -m acnb ${RPCBIND} "--bindir=/sbin"
-LIBS="-lpthread" ipkg -m acnb ${NFS_UTILS} "\
+LIBS="-lpthread" ipkg -m acnb ${NFS_UTILS} " \
     --disable-nfsv4 \
     --disable-nfsv41 \
     --sbindir=/sbin \
index d1114b0..be91cff 100644 (file)
@@ -2,12 +2,11 @@
 
 hvbuild_post()
 {
-    install -v -m644 ${SCRDIR}/misc/git-completion.bash \
-        /etc/bash_completion.d
-
     local GIT_MANPAGES="git-manpages-$(get_pkg_ver ${PACKAGE})"
 
     decompress_package ${GIT_MANPAGES} /usr/share/man
 
+    install -v -m644 ${SCRDIR}/misc/git/git-completion.bash \
+        /etc/bash_completion.d
     install -v -m644 ${SCRDIR}/misc/git/gitconfig /etc
 }