diff options
author | B. Watson <yalhcru@gmail.com> | 2017-06-14 17:24:17 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-15 18:36:04 +0700 |
commit | b60faa8c2136670468233d0193ced9c51d32d5b9 (patch) | |
tree | a6000841154e0a117f8e9eb8bf0cc70e56147b91 /accessibility/flite/flite.SlackBuild | |
parent | f3d332b3eeb156e0516e838bbed96720d1649760 (diff) | |
download | slackbuilds-b60faa8c2136670468233d0193ced9c51d32d5b9.tar.gz |
accessibility/flite: Fix linking with libflite.so.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'accessibility/flite/flite.SlackBuild')
-rw-r--r-- | accessibility/flite/flite.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/accessibility/flite/flite.SlackBuild b/accessibility/flite/flite.SlackBuild index 4e0248f374..e6a22aea6d 100644 --- a/accessibility/flite/flite.SlackBuild +++ b/accessibility/flite/flite.SlackBuild @@ -4,6 +4,10 @@ # Originally written by Martin Lefebvre (dadexter@sekurity.com) # Now maintained by B. Watson (yalhcru@gmail.com), original author is MIA. +# 20170614 bkw: +# - add ldflags patch from King Beowulf, to allow external programs +# to link correctly with libflite.so. BUILD=2. + # 20150623 bkw: # - fix doc build failure with standalone SBo texi2html, thanks # to John Vogel for investigating this @@ -27,7 +31,7 @@ PRGNAM=flite VERSION=${VERSION:-2.0.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -72,6 +76,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# fix LDLAGS to allow external programs to find libflite.so +patch -p1 < $CWD/flite-ldflags-fix.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |