summaryrefslogtreecommitdiff
path: root/libraries/libetonyek
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-11-12 07:43:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-13 05:18:47 +0700
commit7726ae2e79a4d91fd86628ac9dfd1fdf2c7214be (patch)
tree3fd30f87563ac901b251173eae865217ae5f7720 /libraries/libetonyek
parent4b2c283b4a7b93cbb8c383d36c16eaf432ea6e40 (diff)
downloadslackbuilds-7726ae2e79a4d91fd86628ac9dfd1fdf2c7214be.tar.gz
libraries/libetonyek: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libetonyek')
-rw-r--r--libraries/libetonyek/libetonyek.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/libraries/libetonyek/libetonyek.SlackBuild b/libraries/libetonyek/libetonyek.SlackBuild
index 488b36d256..b46f76c5e4 100644
--- a/libraries/libetonyek/libetonyek.SlackBuild
+++ b/libraries/libetonyek/libetonyek.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libetonyek
VERSION=${VERSION:-0.1.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,12 +80,19 @@ else
cppunit='--disable-tests'
fi
+# configure fails with '--enable-tests' and glm-0.9.9.2,
+# but the header io.hpp is no longer used by libetonyek
+sed -i '/io.hpp/d' configure.ac
+
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-mdds=1.4 \
--build=$ARCH-slackware-linux \
$cppunit $doc