mkports

recipes for building multiple softwares with mk(1)
git clone git://z3bra.org/mkports
Log | Files | Refs

commit 9ba47205eb12f62b4dcbbd1b4475b11f682e1ff4
parent 5db16383ad9bef318274b3e7737e4357fbf8589c
Author: z3bra <willyatmailoodotorg>
Date:   Wed Feb 17 23:43:38 2016

Cleanup some ports regarding static compilation

Diffstat:
 binutils/mkfile          | 10 ++++++++--
 dash/mkfile              |  2 ++
 musl/mkfile              |  8 --------
 musl/musl#1.1.12.tar.bz2 | Bin 0 -> 539962 bytes
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/binutils/mkfile b/binutils/mkfile @@ -2,7 +2,13 @@ pkg = binutils ver = 2.25 url = ftp://ftp.gnu.org/gnu/$pkg/$pkg-$ver.tar.bz2 -LDFLAGS="${LDFLAGS} -all-static" - <../config.mk <../default.mk + +MAKEFLAGS = ${MAKEFLAGS} tooldir='' + +build:QV: fetch patch + cd $pkg-$ver + ./configure $CONFIGURE + make configure-host + make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -all-static" ${MAKEFLAGS} diff --git a/dash/mkfile b/dash/mkfile @@ -5,6 +5,8 @@ url=http://gondor.apana.org.au/~herbert/dash/files/$pkg-$ver.tar.gz <../config.mk <../default.mk +MAKEFLAGS = ${MAKEFLAGS} COMMON_CFLAGS=-static + install:V: build mkdir -p $destdir cd $pkg-$ver diff --git a/musl/mkfile b/musl/mkfile @@ -4,11 +4,3 @@ url=http://www.musl-libc.org/releases/$pkg-$ver.tar.gz <../config.mk <../default.mk - -install:QV: build - mkdir -p $destdir/bin - cd $pkg-$ver - make DESTDIR=$destdir install - ln -sf /lib/ld-musl-x86_64.so.1 $destdir/bin/ldd - cp ../ldconfig $destdir/bin/ldconfig - chmod 755 $destdir/bin/ldconfig diff --git a/musl/musl#1.1.12.tar.bz2 b/musl/musl#1.1.12.tar.bz2 Binary files differ