summaryrefslogtreecommitdiff
path: root/libraries/fltk13/fltk13.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/fltk13/fltk13.SlackBuild')
-rw-r--r--libraries/fltk13/fltk13.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/fltk13/fltk13.SlackBuild b/libraries/fltk13/fltk13.SlackBuild
index 02894c7153..e7c266b918 100644
--- a/libraries/fltk13/fltk13.SlackBuild
+++ b/libraries/fltk13/fltk13.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=fltk13
VERSION=${VERSION:-1.3.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -85,15 +85,18 @@ case "$CAIRO" in
*) CAIRO_FLAG="en" ;;
esac
+# Add small patch for eureka
+sed -i 's/class Fl_XFont_On_Demand/class FL_EXPORT Fl_XFont_On_Demand/' FL/x.H
+
# --docdir seems to be ignored here
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
- --libdir=/usr/lib${LIBDIRSUFFIX}/fltk13 \
- --includedir=/usr/include/fltk13 \
- --datadir=/usr/share/fltk13 \
+ --libdir=/usr/lib${LIBDIRSUFFIX}/ \
+ --includedir=/usr/include/ \
+ --datadir=/usr/share/ \
--localstatedir=/var \
--mandir=/usr/man \
--enable-gl \