summaryrefslogtreecommitdiff
path: root/misc/discount
diff options
context:
space:
mode:
Diffstat (limited to 'misc/discount')
-rw-r--r--misc/discount/discount.SlackBuild14
-rw-r--r--misc/discount/discount.info6
2 files changed, 14 insertions, 6 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
diff --git a/misc/discount/discount.info b/misc/discount/discount.info
index 7a4c004612..d515c13783 100644
--- a/misc/discount/discount.info
+++ b/misc/discount/discount.info
@@ -1,8 +1,8 @@
PRGNAM="discount"
-VERSION="2.1.6"
+VERSION="2.1.8a"
HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
-DOWNLOAD="http://www.pell.portland.or.us/~orc/Code/discount/discount-2.1.6.tar.bz2"
-MD5SUM="6f44e627777b6392f8f4a3280642482a"
+DOWNLOAD="http://www.pell.portland.or.us/~orc/Code/discount/discount-2.1.8a.tar.bz2"
+MD5SUM="edada8cc01accc2c0a634871991b4e08"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""