summaryrefslogtreecommitdiffstats
path: root/libraries/fltk/fltk.SlackBuild
diff options
context:
space:
mode:
author dsomero <xgizzmo@slackbuilds.org>2012-09-02 08:51:42 -0400
committer dsomero <xgizzmo@slackbuilds.org>2012-09-02 10:34:41 -0400
commitb76395f3995a0733ef2e87078c816cb0d6e41028 (patch)
tree5ac0bdff38b0694963408babe9ebfc83c042ab8b /libraries/fltk/fltk.SlackBuild
parentfd8e9ddecf41da64e9eecdfda27abf6a8f25d3b4 (diff)
downloadslackbuilds-b76395f3995a0733ef2e87078c816cb0d6e41028.tar.gz
slackbuilds-b76395f3995a0733ef2e87078c816cb0d6e41028.tar.xz
libraries/fltk: Patched to fix underlinking.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--libraries/fltk/fltk.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild
index aa3c06d2e0..69b18f7310 100644
--- a/libraries/fltk/fltk.SlackBuild
+++ b/libraries/fltk/fltk.SlackBuild
@@ -69,6 +69,10 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Fix underlinking.
+patch -p1 -i $CWD/fltk-1.1.10-pkgconfig_xft.patch
+patch -p1 -i $CWD/fltk-1.1.x-r5750-undefined.patch
+
# Fix linking when --libdir=/usr/lib64
sed -i \
-e '/RANLIB/s:$(libdir)/\(.*LIBNAME)\):$(libdir)/`basename \1`:g' \