X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fdhcp;h=0c781764f37d4fbf7eda68f62a83be1c4dcfb63a;hb=084138d08f9c85bbb7ba547e5e335cb478c4b11c;hp=a25fe74cd81da14f238dd0ea7f38a4436383131f;hpb=0016350b745f317376d2fd585fe310c73743b62e;p=hvlinux.git diff --git a/stage2/pkg/dhcp b/stage2/pkg/dhcp index a25fe74..0c78176 100644 --- a/stage2/pkg/dhcp +++ b/stage2/pkg/dhcp @@ -2,8 +2,8 @@ hvconfig_pre() { - cd ${LFS_TMP}/${PACKAGE} - sed -i 's%\(^sbindir =\).*%\1 @prefix@@sbindir@%' server/Makefile.in + sed -i 's%\(^sbindir =\).*%\1 @prefix@@sbindir@%' \ + ${SRC_DIR}/server/Makefile.in CONFIGURE_OPTS+=" \ --localstatedir=/var \ @@ -16,7 +16,8 @@ hvconfig_pre() hvconfig_post() { - sed -i 's/-Werror//' {client,common,dst,omapip,relay,server,tests}/Makefile + sed -i 's/-Werror//' \ + ${BUILD_DIR}/{client,common,dst,omapip,relay,server,tests}/Makefile } hvbuild_post()