sed Makefile instead of setting in env

cleanup-cruft
agaffney 16 years ago
parent 5991612532
commit 05ab15750d

@ -567,7 +567,8 @@ compile_unionfs_fuse() {
tar -zxpf "${FUSE_SRCTAR}" tar -zxpf "${FUSE_SRCTAR}"
cd .. cd ..
print_info 1 'unionfs-fuse: >> Compiling...' print_info 1 'unionfs-fuse: >> Compiling...'
CFLAGS="-Ifuse_tmp/${FUSE_DIR}/include" MAKE=${UTILS_MAKE} compile_generic "" "" sed -i "/^CFLAGS/s:^\\(.*\\)$:\\1 -Ifuse_tmp/${FUSE_DIR}/include:" Makefile
MAKE=${UTILS_MAKE} compile_generic "" ""
print_info 1 'unionfs-fuse: >> Copying to cache...' print_info 1 'unionfs-fuse: >> Copying to cache...'
[ -f "${TEMP}/${UNIONFS_FUSE_DIR}/src/unionfs" ] || [ -f "${TEMP}/${UNIONFS_FUSE_DIR}/src/unionfs" ] ||
gen_die 'unionfs binary does not exist!' gen_die 'unionfs binary does not exist!'

Loading…
Cancel
Save