summaryrefslogtreecommitdiffstats
path: root/development/sdcc/sdcc.SlackBuild
diff options
context:
space:
mode:
author Kyle Guinn2019-06-21 05:42:03 +0200
committer Willy Sudiarto Raharjo2019-06-29 03:17:56 +0200
commit9befa1df191843b0ebe88ba7dda65640ece2a232 (patch)
tree6bd0712b45b94c9d17ea91c355f95b6f6cd248fa /development/sdcc/sdcc.SlackBuild
parent85b9251725c7ac87b1907fc63bb9ed3b324e93c0 (diff)
downloadslackbuilds-9befa1df191843b0ebe88ba7dda65640ece2a232.tar.gz
development/sdcc: Updated for version 3.9.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'development/sdcc/sdcc.SlackBuild')
-rw-r--r--development/sdcc/sdcc.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/development/sdcc/sdcc.SlackBuild b/development/sdcc/sdcc.SlackBuild
index d525f39e14..9a9fdf5f1f 100644
--- a/development/sdcc/sdcc.SlackBuild
+++ b/development/sdcc/sdcc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sdcc
-# Copyright 2014-2018 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2014-2019 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sdcc
-VERSION=${VERSION:-3.8.0}
+VERSION=${VERSION:-3.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,9 +76,10 @@ chmod -x device/lib/isinf.c device/lib/isnan.c
# A few Makefiles install (copy) the source tree _after_ building, and
# accidentally install a bunch of build byproducts which they try to clean
# up afterwards. Delete some byproducts that they missed.
-for patch in $CWD/patches/* ; do
- patch -p1 < $patch
-done
+patch -p1 < $CWD/patches/source-tree.patch
+
+# Avoid creating empty man directories.
+sed -i '/(man1dir)/d' sim/ucsim/doc/Makefile.in
# Requires lyx, latex2html, possibly others. Untested.
if [ "${ENABLE_DOC:-no}" != 'no' ]; then