# needed by other packages.
CONFIGURE_OPTS+=" \
--disable-profile \
- --enable-kernel=$(get_pkg_ver ${KERNEL}) \
+ --enable-kernel=$(get_pkg_ver1 ${KERNEL}).0.0 \
--enable-obsolete-rpc \
--libexecdir=/usr/lib/glibc"
- cd ${LFS_TMP}/${PACKAGE}
-
# When running make install, a script called test-installation.pl performs a
# small sanity test on our newly installed Glibc. However, because our
# toolchain still points to the /tools directory, the sanity test would be
LINKER=$(readelf -l /tools/bin/bash | \
sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
- scripts/test-installation.pl
+ ${SRC_DIR}/scripts/test-installation.pl
unset LINKER
- cd ${LFS_TMP}/${PACKAGE}-build
-
case "${HVL_TARGET}" in
"x86_64")
# Tell glibc to install its libraries into /lib:
- echo "slibdir=/lib" >> configparms
+ echo "slibdir=/lib" >> ${BUILD_DIR}/configparms
CONFIGURE_OPTS+=" --libdir=/usr/lib"
;;
esac
esac
# Install the configuration file and runtime directory for nscd:
- cp -v ${LFS_TMP}/${PACKAGE}/nscd/nscd.conf /etc/nscd.conf
+ cp -v ${SRC_DIR}/nscd/nscd.conf /etc/nscd.conf
mkdir -pv /var/cache/nscd
# The following instructions, instead of the install-locales target