#!/bin/bash hvconfig_pre() { # Change a hardcoded path from /usr/include to /tools/include: sed -i 's@/usr/include@/tools/include@g' ${LFS_TMP}/${PACKAGE}/ext/Errno/Errno_pm.PL } hvconfig() { cd ${LFS_TMP}/${PACKAGE} ./configure.gnu \ --prefix=/tools \ -Dcc="gcc" } hvbuild_post() { ln -svfT /tools/bin/perl /usr/bin/perl }