aboutsummaryrefslogtreecommitdiff
path: root/libraries/libopensync/libopensync.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libopensync/libopensync.SlackBuild')
-rw-r--r--libraries/libopensync/libopensync.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/libraries/libopensync/libopensync.SlackBuild b/libraries/libopensync/libopensync.SlackBuild
index ba8df184d9f43..db086c77a2418 100644
--- a/libraries/libopensync/libopensync.SlackBuild
+++ b/libraries/libopensync/libopensync.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libopensync
VERSION=0.22
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -74,14 +74,14 @@ chmod -R u+w,go+r-w,a-s .
# -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
# -DCMAKE_INSTALL_PREFIX=/usr
-if [ "$ARCH" = "x86_64" ]; then
- sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%g" \
- $CWD/libopensync-0.22-fixup_python_libdir.diff \
- | patch -p1
-fi
+# Apply some patches from gentoo
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+sed -i "s%python_path/lib%python_path/lib${LIBDIRSUFFIX}%g" acinclude.m4
+
+autoreconf -i
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -Wno-error=unused-but-set-variable" \
+CXXFLAGS="$SLKCFLAGS -Wno-error=unused-but-set-variable" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \