tMove config.mk inclusion to default.mk - mkports - recipes for building multiple softwares with mk(1)
 (HTM) git clone git://z3bra.org/mkports
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 003a86f601aaddeca399849607a1e84468e08523
 (DIR) parent 6c0c3494f901effef64609c3a679d91818e5ce6d
 (HTM) Author: Willy <willyatmailoodotorg>
       Date:   Fri, 10 Jun 2016 08:52:31 +0200
       
       Move config.mk inclusion to default.mk
       
       Diffstat:
         M binutils/mkfile                     |       1 -
         M bzip2/mkfile                        |       1 -
         M curl/mkfile                         |       1 -
         M dash/mkfile                         |       1 -
         M default.mk                          |       3 +++
         M fs/mkfile                           |       1 -
         M gcc/mkfile                          |       1 -
         M git/mkfile                          |       1 -
         M gzip/mkfile                         |       1 -
         M init/mkfile                         |       1 -
         M iproute2/mkfile                     |       1 -
         M iputils/mkfile                      |       1 -
         M libarchive/mkfile                   |       1 -
         M libbio/mkfile                       |       1 -
         M libfmt/mkfile                       |       1 -
         M libgmp/mkfile                       |       1 -
         M libmpc/mkfile                       |       1 -
         M libmpfr/mkfile                      |       1 -
         M libncurses/mkfile                   |       1 -
         M libpcc/mkfile                       |       1 -
         M libregexp9/mkfile                   |       1 -
         M libressl/mkfile                     |       1 -
         M libutf/mkfile                       |       1 -
         M libz/mkfile                         |       1 -
         M make/mkfile                         |       1 -
         M mk/mkfile                           |       1 -
         M mkfile                              |       1 -
         M mksh/mkfile                         |       1 -
         M musl/mkfile                         |       1 -
         M patch/mkfile                        |       1 -
         M pcc/mkfile                          |       1 -
         M pm/mkfile                           |       1 -
         M sbase/mkfile                        |       1 -
         M smdev/mkfile                        |       1 -
         M ubase/mkfile                        |       1 -
         M xz/mkfile                           |       1 -
       
       36 files changed, 3 insertions(+), 35 deletions(-)
       ---
 (DIR) diff --git a/binutils/mkfile b/binutils/mkfile
       t@@ -2,7 +2,6 @@ pkg = binutils
        ver = 2.25
        url = ftp://ftp.gnu.org/gnu/$pkg/$pkg-$ver.tar.bz2
        
       -<../config.mk
        <../default.mk
        
        MAKEFLAGS = ${MAKEFLAGS} tooldir=''
 (DIR) diff --git a/bzip2/mkfile b/bzip2/mkfile
       t@@ -2,5 +2,4 @@ pkg = bzip2
        ver = 1.0.6
        url = http://bzip.org/$ver/$pkg-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/curl/mkfile b/curl/mkfile
       t@@ -2,7 +2,6 @@ pkg = curl
        ver = 7.42.1
        url = http://curl.haxx.se/download/$pkg-$ver.tar.bz2
        
       -<../config.mk
        <../default.mk
        
        CONFIGURE = ${CONFIGURE} \
 (DIR) diff --git a/dash/mkfile b/dash/mkfile
       t@@ -2,7 +2,6 @@ pkg = dash
        ver = 0.5.8
        url=http://gondor.apana.org.au/~herbert/dash/files/$pkg-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
        
        install:V: build
 (DIR) diff --git a/default.mk b/default.mk
       t@@ -1,3 +1,6 @@
       +# this file is sourced from within each pack directory
       +<../config.mk
       +
        srcdir  = `{pwd}
        destdir = `{printf '%s/%s/.rootfs' "$WORK" "$pkg-$ver"}
        archive = `{basename $url 2>/dev/null || echo /dev/null}
 (DIR) diff --git a/fs/mkfile b/fs/mkfile
       t@@ -2,7 +2,6 @@ pkg = fs
        ver = 0.1
        destdir = `{printf '%s/%s/.rootfs' "$(pwd)" "$pkg-$ver"}
        
       -<../config.mk
        
        $pkg\#$ver.tar.bz2:Q: build-fs
                cd $destdir
 (DIR) diff --git a/gcc/mkfile b/gcc/mkfile
       t@@ -3,7 +3,6 @@ ver = 5.3.0
        #ver = 6.1.0
        url = ftp://ftp.gnu.org/pub/gnu/gcc/$pkg-$ver/$pkg-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
        
        CONFIGURE = ${CONFIGURE} \
 (DIR) diff --git a/git/mkfile b/git/mkfile
       t@@ -2,7 +2,6 @@ pkg = git
        ver = 2.7.0
        url = https://www.kernel.org/pub/software/scm/git/$pkg-$ver.tar.xz
        
       -<../config.mk
        <../default.mk
        
        CONFIGURE = ${CONFIGURE} --prefix=/
 (DIR) diff --git a/gzip/mkfile b/gzip/mkfile
       t@@ -2,5 +2,4 @@ pkg = gzip
        ver = 1.3.3
        url = http://www.gzip.org/$pkg-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
        \ No newline at end of file
 (DIR) diff --git a/init/mkfile b/init/mkfile
       t@@ -1,7 +1,6 @@
        pkg = init
        ver = 0.1
        
       -<../config.mk
        <../default.mk
        
        build:QV: fetch patch
 (DIR) diff --git a/iproute2/mkfile b/iproute2/mkfile
       t@@ -2,7 +2,6 @@ pkg = iproute2
        ver = 3.18.0
        url = https://www.kernel.org/pub/linux/utils/net/$pkg/$pkg-$ver.tar.xz
        
       -<../config.mk
        <../default.mk
        
        CFLAGS = ${CFLAGS} -I../include -DHAVE_SETNS -DRESOLVE_HOSTNAMES -DNO_SHARED_LIBS  -D_GNU_SOURCE '-DLIBDIR=\"/lib\" -DCONFDIR=\"/etc/iproute2\"'
 (DIR) diff --git a/iputils/mkfile b/iputils/mkfile
       t@@ -2,7 +2,6 @@ pkg = iputils
        ver = s20121221
        url = http://www.skbuff.net/iputils/$pkg-$ver.tar.bz2
        
       -<../config.mk
        <../default.mk
        
        MAKEFLAGS = ${MAKEFLAGS} USE_GNUTLS=no USE_CAP=no
 (DIR) diff --git a/libarchive/mkfile b/libarchive/mkfile
       t@@ -2,7 +2,6 @@ pkg = libarchive
        ver = 3.1.2
        url = http://libarchive.org/downloads/$pkg-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
        
        CONFIGURE = ${CONFIGURE} \
 (DIR) diff --git a/libbio/mkfile b/libbio/mkfile
       t@@ -2,7 +2,6 @@ pkg = libbio
        ver = 2.0
        url = http://swtch.com/plan9port/unix/$pkg.tgz
        
       -<../config.mk
        <../default.mk
        
        CFLAGS = ${CFLAGS} -c -I.
 (DIR) diff --git a/libfmt/mkfile b/libfmt/mkfile
       t@@ -2,7 +2,6 @@ pkg = libfmt
        ver = 2.0
        url = http://swtch.com/plan9port/unix/$pkg.tgz
        
       -<../config.mk
        <../default.mk
        
        CFLAGS = ${CFLAGS} -c -I.
 (DIR) diff --git a/libgmp/mkfile b/libgmp/mkfile
       t@@ -2,5 +2,4 @@ pkg = libgmp
        ver = 6.1.0
        url = http://gmplib.org/download/gmp/gmp-$ver.tar.xz
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/libmpc/mkfile b/libmpc/mkfile
       t@@ -2,5 +2,4 @@ pkg = libmpc
        ver = 1.0.3
        url = ftp://ftp.gnu.org/gnu/mpc/mpc-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/libmpfr/mkfile b/libmpfr/mkfile
       t@@ -2,5 +2,4 @@ pkg = libmpfr
        ver = 3.1.3
        url = http://www.mpfr.org/mpfr-$ver/mpfr-$ver.tar.xz
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/libncurses/mkfile b/libncurses/mkfile
       t@@ -2,7 +2,6 @@ pkg = libncurses
        ver = 6.0
        url = ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
        
        CONFIGURE = ${CONFIGURE} \
 (DIR) diff --git a/libpcc/mkfile b/libpcc/mkfile
       t@@ -4,5 +4,4 @@ url = ftp://pcc.ludd.ltu.se/pub/pcc-libs/pcc-libs-$ver.tgz
        #ver = 1.1.0
        #url = ftp://pcc.ludd.ltu.se/pub/pcc-releases/pcc-libs-$ver.tgz
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/libregexp9/mkfile b/libregexp9/mkfile
       t@@ -2,7 +2,6 @@ pkg = libregexp9
        ver = 2.0
        url = http://swtch.com/plan9port/unix/$pkg.tgz
        
       -<../config.mk
        <../default.mk
        
        CFLAGS = ${CFLAGS} -c -I.
 (DIR) diff --git a/libressl/mkfile b/libressl/mkfile
       t@@ -2,5 +2,4 @@ pkg = libressl
        ver = 2.1.6
        url = http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/$pkg-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/libutf/mkfile b/libutf/mkfile
       t@@ -2,7 +2,6 @@ pkg = libutf
        ver = 2.0
        url = http://swtch.com/plan9port/unix/$pkg.tgz
        
       -<../config.mk
        <../default.mk
        
        CFLAGS = ${CFLAGS} -c -I.
 (DIR) diff --git a/libz/mkfile b/libz/mkfile
       t@@ -2,7 +2,6 @@ pkg = libz
        ver = 1.2.8
        url = http://zlib.net/zlib-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
        
        CONFIGURE = --static
 (DIR) diff --git a/make/mkfile b/make/mkfile
       t@@ -2,5 +2,4 @@ pkg = make
        ver = 4.1
        url = ftp://ftp.gnu.org/gnu/make/$pkg-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/mk/mkfile b/mk/mkfile
       t@@ -2,7 +2,6 @@ pkg = mk
        ver = 0.1
        url = http://swtch.com/plan9port/unix/$pkg.tgz
        
       -<../config.mk
        <../default.mk
        
        CFLAGS = $CFLAGS -c -I. $LDFLAGS
 (DIR) diff --git a/mkfile b/mkfile
       t@@ -1,6 +1,5 @@
        ALL = `{ls | grep -vE '[A-Z]+|[a-z]*\.mk|mkfile'}
        
       -<config.mk
        <deps.mk
        
        default:QV:
 (DIR) diff --git a/mksh/mkfile b/mksh/mkfile
       t@@ -2,7 +2,6 @@ pkg = mksh
        ver = R52c
        url = https://pub.allbsd.org/MirOS/dist/mir/mksh/$pkg-$ver.tgz
        
       -<../config.mk
        <../default.mk
        
        CFLAGS = ${CFLAGS} -DMKSH_S_NOVI=1 -DMKSH_SMALL_BUT_FAST
 (DIR) diff --git a/musl/mkfile b/musl/mkfile
       t@@ -2,5 +2,4 @@ pkg = musl
        ver = 1.1.12
        url=http://www.musl-libc.org/releases/$pkg-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/patch/mkfile b/patch/mkfile
       t@@ -2,5 +2,4 @@ pkg = patch
        ver = 2.7
        url = ftp://ftp.gnu.org/gnu/patch/$pkg-$ver.tar.gz
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/pcc/mkfile b/pcc/mkfile
       t@@ -4,7 +4,6 @@ url = ftp://pcc.ludd.ltu.se/pub/pcc/$pkg-$ver.tgz
        #ver = 1.1.0
        #url = ftp://pcc.ludd.ltu.se/pub/pcc-releases/$pkg-$ver.tgz
        
       -<../config.mk
        <../default.mk
        
        CONFIGURE = ${CONFIGURE} \
 (DIR) diff --git a/pm/mkfile b/pm/mkfile
       t@@ -2,5 +2,4 @@ pkg = pm
        ver = 9a34970
        git = git://z3bra.org/$pkg
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/sbase/mkfile b/sbase/mkfile
       t@@ -2,5 +2,4 @@ pkg = sbase
        ver = 2b31049
        git = git://git.2f30.org/$pkg
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/smdev/mkfile b/smdev/mkfile
       t@@ -2,5 +2,4 @@ pkg = smdev
        ver = 77eafb2
        git = git://git.2f30.org/$pkg
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/ubase/mkfile b/ubase/mkfile
       t@@ -2,5 +2,4 @@ pkg = ubase
        ver = df53efd
        git = git://git.2f30.org/$pkg
        
       -<../config.mk
        <../default.mk
 (DIR) diff --git a/xz/mkfile b/xz/mkfile
       t@@ -2,5 +2,4 @@ pkg = xz
        ver = 5.2.2
        url = http://tukaani.org/xz/$pkg-$ver.tar.xz
        
       -<../config.mk
        <../default.mk