tawk: force single-threaded build - mkports - recipes for building multiple softwares with mk(1)
 (HTM) git clone git://z3bra.org/mkports
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit ee11f03a614df106c9b8de4b29d127ee1432323e
 (DIR) parent 264471f9e8da54750842cb966e0851ac09c38ea8
 (HTM) Author: root <root@doom.z3bra.org>
       Date:   Wed, 31 May 2017 06:10:51 +0000
       
       awk: force single-threaded build
       
       Diffstat:
         M awk/mkfile                          |       5 +++--
         M awk/patches/yacc-flags.diff         |       2 +-
       
       2 files changed, 4 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/awk/mkfile b/awk/mkfile
       t@@ -4,12 +4,13 @@ url = http://www.cs.princeton.edu/~bwk/btl.mirror/$pkg.tar.gz
        
        <../default.mk
        
       -YACC = bison -d -y
       +# Old makefile doesn't play well with multiproc builds
       +NPROC = 1
        
        fetch-archive:QV: $WORK/$archive
                mkdir -p $WORK/$pkg-$ver
                cd $WORK/$pkg-$ver
       -        tar xf ../$pkg.tar.gz
       +        tar -xzf ../$pkg.tar.gz
        
        install:QV: build
                cd $WORK/$pkg-$ver
 (DIR) diff --git a/awk/patches/yacc-flags.diff b/awk/patches/yacc-flags.diff
       t@@ -8,7 +8,7 @@ diff -urN a/makefile b/makefile
        -YACC = bison -d -y
        -YACC = yacc -d -S
        -#YFLAGS = -d -S
       -+YACC = yacc -d -y
       ++YACC = yacc -d
                         # -S uses sprintf in yacc parser instead of sprint
         
         OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o