From 38dfc4aa131a87735dfc8629c3394c7d2670e9d5 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Tue, 28 Aug 2018 22:05:19 +0000 Subject: Tue Aug 28 22:05:19 UTC 2018 a/sysvinit-scripts-2.1-noarch-18.txz: Rebuilt. rc.cpufreq: for CPUs that use intel_pstate, default to the performance governor. The performance governor provides power savings while avoiding the ramp-up lag caused by using "ondemand", which defaults to "powersave" on these systems. Thanks to EdGr. d/bison-3.1-x86_64-1.txz: Upgraded. --- source/d/bison/bison.SlackBuild | 29 +++++++++++++++++++++++++++++ source/d/bison/slack-desc | 12 ++++++------ 2 files changed, 35 insertions(+), 6 deletions(-) (limited to 'source/d/bison') diff --git a/source/d/bison/bison.SlackBuild b/source/d/bison/bison.SlackBuild index b11ccd7e..713fda61 100755 --- a/source/d/bison/bison.SlackBuild +++ b/source/d/bison/bison.SlackBuild @@ -77,6 +77,27 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Don't use icecream: +for path_element in $(echo $PATH | tr ':' '\n') ; do + if [ "$path_element" = "/usr/libexec/icecc/bin" ]; then + continue + fi + if [ -z "$REVERSE_PATH" ]; then + REVERSE_PATH="$path_element" + else + REVERSE_PATH="${REVERSE_PATH}:$path_element" + fi +done +for path_element in $(echo $REVERSE_PATH | tr ':' '\n') ; do + if [ -z "$FORWARD_PATH" ]; then + FORWARD_PATH="$path_element" + else + FORWARD_PATH="${FORWARD_PATH}:$path_element" + fi +done +PATH=$FORWARD_PATH +unset FORWARD_PATH REVERSE_PATH + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -123,6 +144,14 @@ if [ -r ChangeLog ]; then touch -r ChangeLog $DOCSDIR/ChangeLog fi +# If there's a NEWS file, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r NEWS ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat NEWS | head -n 1000 > $DOCSDIR/NEWS + touch -r NEWS $DOCSDIR/NEWS +fi + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/source/d/bison/slack-desc b/source/d/bison/slack-desc index 02c40f6a..472bc0fe 100644 --- a/source/d/bison/slack-desc +++ b/source/d/bison/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| bison: bison (parser generator similar to yacc) bison: -bison: GNU "Bison" is a general-purpose parser generator that converts a +bison: GNU Bison is a general-purpose parser generator that converts a bison: grammar description for an LALR(1) context-free grammar into a C -bison: program to parse that grammar. -bison: -bison: Bison is upward compatible with Yacc: all properly-written Yacc -bison: grammars ought to work with Bison with no change. Anyone familiar -bison: with Yacc should be able to use Bison with little trouble. +bison: program to parse that grammar. Bison is upward compatible with Yacc: +bison: all properly-written Yacc grammars ought to work with Bison with no +bison: change. Anyone familiar with Yacc should be able to use Bison with +bison: little trouble. bison: +bison: Homepage: https://www.gnu.org/software/bison/ bison: -- cgit v1.2.3