#!/bin/bash
-# Prevents the configure script from setting LD_LIBRARY_PATH when it finds PPL.
-# This will prevent any conflicts with libraries from the host system.
-hvconfig_pre()
+hvconfig_post()
{
- sed -e "/LD_LIBRARY_PATH=/d" -i ${LFS_TMP}/${PACKAGE}/configure
+ # Apply a sed which prevents the attempted installation of an invalid file:
+ sed -i '/cmake/d' ${LFS_TMP}/${PACKAGE}-build/Makefile
}