distro

small linux distro experiment
Log | Files | Refs

commit 9b61f116a49a29097644b4c7475d26e7a30655c4
parent 2fce59f10632efdd51144aabaaaa573531c67521
Author: z3bra <contactatz3bradotorg>
Date:   Mon, 22 Oct 2018 08:08:51 +0200

sed: new port

Diffstat:
pkg/sed/mkfile | 5+++++
pkg/sed/patches/config.sub-musl.diff | 22++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/pkg/sed/mkfile b/pkg/sed/mkfile @@ -0,0 +1,5 @@ +pkg = sed +ver = 3.62 +url = http://sed.sourceforge.net/grabbag/ssed/$pkg-$ver.tar.gz + +<../build.mk diff --git a/pkg/sed/patches/config.sub-musl.diff b/pkg/sed/patches/config.sub-musl.diff @@ -0,0 +1,22 @@ +diff -urN a/config/config.sub b/config/config.sub +--- a/config/config.sub 2004-11-08 15:54:46.000000000 +0100 ++++ b/config/config.sub 2016-12-02 13:58:09.606413290 +0100 +@@ -118,7 +118,7 @@ + # Here we must recognize all the valid KERNEL-OS combinations. + maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` + case $maybe_os in +- nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ ++ nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | linux-musl* | \ + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` +@@ -1194,6 +1194,9 @@ + -linux-dietlibc) + os=-linux-dietlibc + ;; ++ -linux-musl) ++ os=-linux-musl ++ ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;;