Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage1 / pkg / flex
index 63c19d8..b8ce278 100644 (file)
@@ -3,14 +3,14 @@
 hvconfig_pre()
 {
     # Make sure that Flex doesn't try to include headers from /usr/include.
-    sed -e "s/-I@includedir@//g" -i ${LFS_TMP}/${PACKAGE}/Makefile.in
+    sed -e "s/-I@includedir@//g" -i ${SRC_DIR}/Makefile.in
 }
 
 # When Cross Compiling the configure script does not determine the correct
 # values for the following, Set the values manually:
 hvconfig_cache()
 {
-cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF
+cat > ${BUILD_DIR}/config.cache << EOF
 ac_cv_func_malloc_0_nonnull=yes
 ac_cv_func_realloc_0_nonnull=yes
 EOF