Unpack fuse source and modify CFLAGS for unionfs-fuse
authoragaffney <agaffney@kagome.(none)>
Thu, 13 Nov 2008 00:28:42 +0000 (18:28 -0600)
committeragaffney <agaffney@kagome.(none)>
Thu, 13 Nov 2008 00:28:42 +0000 (18:28 -0600)
ChangeLog
gen_compile.sh

index 9f46111d550d6048c2a4894a9f7300e6c05e6494..8237fcc9cd70c3a710c51b5ddcdc3efeb9c83627 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
 # Distributed under the GPL v2
 
+  13 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> gen_compile.sh:
+  Unpack fuse source and modify CFLAGS for unionfs-fuse
+
   12 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> gen_compile.sh,
   genkernel.conf:
   Unpack unionfs-fuse with -j
index 9931fcb3d47dc36638b79f30eb1023a6edf68703..be6220dbbcb9d4697a7b32acfebd25826c7f750e 100644 (file)
@@ -562,8 +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 ..
                print_info 1 'unionfs-fuse: >> Compiling...'
-               MAKE=${UTILS_MAKE} compile_generic "" ""
+               CFLAGS="-Ifuse_tmp/${FUSE_DIR}/include" MAKE=${UTILS_MAKE} compile_generic "" ""
                print_info 1 'unionfs-fuse: >> Copying to cache...'
                [ -f "${TEMP}/${UNIONFS_FUSE_DIR}/src/unionfs" ] ||
                        gen_die 'unionfs binary does not exist!'