#!/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
# <libraryname>.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()