summaryrefslogtreecommitdiffstats
path: root/misc/discount/discount.SlackBuild
diff options
context:
space:
mode:
author Antonio Hernández Blas2015-07-04 09:48:32 +0200
committer Willy Sudiarto Raharjo2015-07-04 09:48:32 +0200
commit3db267fd4e43d8b8649e4f567db299744ebe7395 (patch)
tree48b6e5f82ab9f3f824d7ae3912cf5a5a1ccad4d7 /misc/discount/discount.SlackBuild
parent4dafaaaf7be0c94d4cdf13dee845feed6e878706 (diff)
downloadslackbuilds-3db267fd4e43d8b8649e4f567db299744ebe7395.tar.gz
misc/discount: Updated for version 2.1.8a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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