diff options
Diffstat (limited to 'development/bacon/bacon.SlackBuild')
-rw-r--r-- | development/bacon/bacon.SlackBuild | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/development/bacon/bacon.SlackBuild b/development/bacon/bacon.SlackBuild index f361c5ecc39e2..de9befeeee20b 100644 --- a/development/bacon/bacon.SlackBuild +++ b/development/bacon/bacon.SlackBuild @@ -4,16 +4,9 @@ # Written by Steve Pledger <spledger91@yahoo.com> -# 2010-12-21 UPDATE: -# -Niels Horn suggested I display a warning if the internal -# version doesn't match the VERSION variable -# -According to the BaCon documentation, I'm supposed to use the '-o' -# switch for each compiler option. -# e.g. "-o -O2 -o -march=i486 -o -mtune=i686" instead of "-o -O2 -march=i486 -mtune=i686" - PRGNAM="bacon" -VERSION="${VERSION:-1.0_build_19}" -BUILD=${BUILD:-2} +VERSION="${VERSION:-1.0_build_20}" +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -32,10 +25,11 @@ OUTPUT=${OUTPUT:-/tmp} # Version number may change, so figure out the real version SRCVER="$(bash $CWD/bacon.bash -v | grep version | cut -d' ' -f3-5 | tr ' ' _)" +# suggested by Niels Horn: if [ "$VERSION" != "$SRCVER" ]; then cat <<EOF WARNING: The source version ($SRCVER) does not match the VERSION variable ($VERSION). -To build anyway, re-run the SlackBuild like this: +To build anyway, run the SlackBuild like this: VERSION=$SRCVER ./$PRGNAM.SlackBuild |