diff options
Diffstat (limited to 'system/csh/csh.SlackBuild')
-rw-r--r-- | system/csh/csh.SlackBuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/system/csh/csh.SlackBuild b/system/csh/csh.SlackBuild index 31835c2beb..2adb56deea 100644 --- a/system/csh/csh.SlackBuild +++ b/system/csh/csh.SlackBuild @@ -6,9 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20170621 bkw: +# - update to latest debian patch (-2.2, needed for -current). +# - quit compiling with -Werror (also needed for -current). +# - BUILD=2. + PRGNAM=csh VERSION=${VERSION:-20110502} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -40,6 +45,8 @@ fi set -e +DEBVER=2.2 + # Grr. TARNAM="${PRGNAM}_${VERSION}.orig" DIRNAM="${PRGNAM}-${VERSION}.orig" @@ -50,7 +57,7 @@ cd $TMP rm -rf $DIRNAM tar xvf $CWD/$TARNAM.tar.gz cd $DIRNAM -tar xvf $CWD/${PRGNAM}_${VERSION}-2.debian.tar.gz +tar xvf $CWD/${PRGNAM}_${VERSION}-$DEBVER.debian.tar.[xg]z chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -75,8 +82,8 @@ sed -i "1iCFLAGS=$SLKCFLAGS" Makefile # /usr/lib/libc.a hard-coded, and pmake wants to build that (and can't), # even though the csh binary is dynamic and doesn't even need libc.a! # Also don't know why I have to make const.h separately, but it works. -pmake const.h -pmake LIBC=/usr/lib$LIBDIRSUFFIX/libc.a +pmake const.h NOGCCERROR=1 +pmake LIBC=/usr/lib$LIBDIRSUFFIX/libc.a NOGCCERROR=1 cd USD.doc pmake paper.ps paper.txt cd - |