aboutsummaryrefslogtreecommitdiff
path: root/network/sylpheed
diff options
context:
space:
mode:
Diffstat (limited to 'network/sylpheed')
-rw-r--r--network/sylpheed/sylpheed.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/network/sylpheed/sylpheed.SlackBuild b/network/sylpheed/sylpheed.SlackBuild
index 812659644a677..68bfd2296d5c6 100644
--- a/network/sylpheed/sylpheed.SlackBuild
+++ b/network/sylpheed/sylpheed.SlackBuild
@@ -74,6 +74,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# fix for enchant >= 2.1.3
+# https://www.archlinux.org/todo/enchant-221-rebuild/
+# Thanks Arch
+ sed -i 's,enchant/,enchant-2/,g' src/compose.c
+ sed -i 's/ enchant/ enchant-2/g' configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -88,6 +94,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
# Install desktop file and icon (we'll use the largest icon available by
# default - that way, it will scale down just fine for users who need a