X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Freadline;h=da4b0af2d8872d8d437e4e1590995a1112012d9e;hb=084138d08f9c85bbb7ba547e5e335cb478c4b11c;hp=9097481fffc46e076a504d090c74c0ffa70690ac;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage2/pkg/readline b/stage2/pkg/readline index 9097481..da4b0af 100644 --- a/stage2/pkg/readline +++ b/stage2/pkg/readline @@ -1,19 +1,15 @@ #!/bin/bash -CONFIGURE_OPTS="\ - --libdir=/lib - ${CONFIGURE_OPTS}" - hvconfig_pre() { - cd ${LFS_TMP}/${PACKAGE} + CONFIGURE_OPTS+=" --libdir=/lib" # Reinstalling Readline will cause the old libraries to be moved to # .old. While this is normally not a problem, in some # cases it can trigger a linking bug in ldconfig. This can be # avoided by issuing the following two seds: - sed -i '/MV.*old/d' Makefile.in - sed -i '/{OLDSUFF}/c:' support/shlib-install + sed -i '/MV.*old/d' ${SRC_DIR}/Makefile.in + sed -i '/{OLDSUFF}/c:' ${SRC_DIR}/support/shlib-install } hvbuild()