summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2021-07-03 05:05:42 +0200
committer Willy Sudiarto Raharjo2021-07-03 05:05:42 +0200
commiteda8fe4df4ecd177613355e102730356c6c77bba (patch)
tree205d7e093dcbe6405a33c6c6ac77c519e3c3d425 /network
parent2c18ec9f7616dcf402b0c0ae9db3ee01396149de (diff)
downloadslackbuilds-eda8fe4df4ecd177613355e102730356c6c77bba.tar.gz
network/sylpheed: Fix build against new enchant.
Thanks to J_W in LQ. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-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 812659644a..68bfd2296d 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