X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fdhcp;h=0c781764f37d4fbf7eda68f62a83be1c4dcfb63a;hb=582e550b16726c1391156a831baaf33c29a7a38f;hp=a25fe74cd81da14f238dd0ea7f38a4436383131f;hpb=84ffa3a4299c59046bbe6fdc6124087fbf5c5135;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()