another try at compiling unionfs-fuse
authoragaffney <agaffney@kagome.(none)>
Thu, 13 Nov 2008 04:10:16 +0000 (22:10 -0600)
committeragaffney <agaffney@kagome.(none)>
Thu, 13 Nov 2008 04:10:16 +0000 (22:10 -0600)
gen_compile.sh

index cd59176821f975f641a25a46799234c52236102a..1cd854a90607320dbf502b1d7343fa38ae09ba1e 100644 (file)
@@ -547,7 +547,7 @@ compile_fuse() {
                        gen_die 'Could not create fuse bincache!'
 
                cd "${TEMP}"
-               rm -rf "${FUSE_DIR}" > /dev/null
+#              rm -rf "${FUSE_DIR}" > /dev/null
        fi
 }
 
@@ -562,12 +562,12 @@ compile_unionfs_fuse() {
                [ ! -d "${UNIONFS_FUSE_DIR}" ] &&
                        gen_die "unionfs-fuse directory ${UNIONFS_FUSE_DIR} invalid"
                cd "${UNIONFS_FUSE_DIR}"
-               mkdir "fuse_tmp"
-               cd "fuse_tmp"
-               tar -zxpf "${FUSE_SRCTAR}"
-               cd ..
+#              mkdir "fuse_tmp"
+#              cd "fuse_tmp"
+#              tar -zxpf "${FUSE_SRCTAR}"
+#              cd ..
                print_info 1 'unionfs-fuse: >> Compiling...'
-               sed -i "/^\(CFLAGS\|CPPFLAGS\)/s:^\\(.*\\)$:\\1 -Ifuse_tmp/${FUSE_DIR}/include:" Makefile src/Makefile
+               sed -i "/^\(CFLAGS\|CPPFLAGS\)/s:^\\(.*\\)$:\\1 -I${TEMP}/${FUSE_DIR}/include -L${TEMP}/${FUSE_DIR}/lib/.libs:" Makefile src/Makefile
                cat Makefile src/Makefile
                bash
                MAKE=${UTILS_MAKE} compile_generic "" ""