diff --git a/filesystem/siefs/siefs.conf b/filesystem/siefs/siefs.conf index 334f3a705..53e4cacec 100644 --- a/filesystem/siefs/siefs.conf +++ b/filesystem/siefs/siefs.conf @@ -17,6 +17,14 @@ autogen=1 [[ $libdir = *lib64 ]] && hook_add premake 3 "sed -i -e 's,/lib/,/lib64/,' siefs/Makefile" +pkgprefix -t fuse +var_append confopt ' ' "--with-fuse=$root/$( pkgprefix fuse )" + +siefs_premake() { + sed -i "s:LDADD = \$(fuseinst)/lib/libfuse.a:LDADD = -lfuse:" siefs/Makefile +} + var_append makeopt " " "SUBDIRS=siefs" var_append makeinstopt " " "SUBDIRS=siefs" +hook_add premake 5 "siefs_premake"