summaryrefslogtreecommitdiff
path: root/source/n/epic5/epic5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/epic5/epic5.SlackBuild')
-rwxr-xr-xsource/n/epic5/epic5.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/n/epic5/epic5.SlackBuild b/source/n/epic5/epic5.SlackBuild
index 0100fd9d..f1cb70a2 100755
--- a/source/n/epic5/epic5.SlackBuild
+++ b/source/n/epic5/epic5.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2013, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2013, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,11 @@ PKGNAM=epic5
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
EPICVER=5
HELPFILE=current
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
+
+# Default to no Ruby support, since it seems that ruby-2.7.0 is not compatible.
+# Patches to fix this are welcome, otherwise we'll keep an eye on upstream.
+RUBY_OPTION=${RUBY_OPTION:---without-ruby}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -82,6 +86,7 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--with-tcl=/usr/lib${LIBDIRSUFFIX}/tclConfig.sh \
+ $RUBY_OPTION \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1