summaryrefslogtreecommitdiff
path: root/misc/discount/discount.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/discount/discount.SlackBuild')
-rw-r--r--misc/discount/discount.SlackBuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/misc/discount/discount.SlackBuild b/misc/discount/discount.SlackBuild
index 12dbbbfc7e..ca29f8b3f6 100644
--- a/misc/discount/discount.SlackBuild
+++ b/misc/discount/discount.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for discount
-# Copyright (c) 2011, Antonio Hernández Blas <hba.nihilismus@gmail.com>
+# Copyright (c) 2011-2015, Antonio Hernández Blas <hba.nihilismus@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -22,7 +22,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=discount
-VERSION=${VERSION:-2.1.6}
+VERSION=${VERSION:-2.1.8a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,9 @@ find -L . \
# Disable ldconfig use during 'make install'
sed -i 's/LDCONFIG=.*$/LDCONFIG=true/g' configure.inc
+# Fix file permission
+sed -i 's/PROG_INSTALL -m 444/PROG_INSTALL -m 644/g' configure.inc
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure.sh \
@@ -78,8 +81,13 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--confdir=/etc \
--mandir=/usr/man \
+ --with-dl=Both \
+ --with-id-anchor \
+ --with-github-tags \
+ --with-fenced-code \
+ --with-urlencoded-anchor \
--enable-all-features \
- --shared
+ --shared
make