summaryrefslogtreecommitdiffstats
path: root/system/unionfs-fuse/unionfs-fuse.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/unionfs-fuse/unionfs-fuse.SlackBuild')
-rw-r--r--system/unionfs-fuse/unionfs-fuse.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/system/unionfs-fuse/unionfs-fuse.SlackBuild b/system/unionfs-fuse/unionfs-fuse.SlackBuild
index 671b5b99e3..673fa6435a 100644
--- a/system/unionfs-fuse/unionfs-fuse.SlackBuild
+++ b/system/unionfs-fuse/unionfs-fuse.SlackBuild
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unionfs-fuse
-VERSION=${VERSION:-3.2}
+VERSION=${VERSION:-3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -49,16 +49,16 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -D_FILE_OFFSET_BITS=64"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686 -D_FILE_OFFSET_BITS=64"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -D_FILE_OFFSET_BITS=64"
LIBDIRSUFFIX=""
fi
@@ -82,7 +82,9 @@ find -L . \
sed -i -e 's|share/man|man|' Makefile
sed -i -e 's|usr/local|usr|' Makefile
-make PREFIX=/usr CFLAGS_EXTRA="$SLKCFLAGS"
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+make PREFIX=/usr
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \