tsed: Super sed version - mkports - recipes for building multiple softwares with mk(1)
(HTM) git clone git://z3bra.org/mkports
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 7608982bb92b61c3c31ece36b0bc4412fb55a722
(DIR) parent 3e72d0a7b5183d9fd7cca1e663cfd49a1a53791e
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Fri, 2 Dec 2016 13:59:31 +0100
sed: Super sed version
Diffstat:
A sed/mkfile | 5 +++++
A sed/patches/config.sub-musl.diff | 22 ++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/sed/mkfile b/sed/mkfile
t@@ -0,0 +1,5 @@
+pkg = sed
+ver = 3.62
+url = http://sed.sourceforge.net/grabbag/ssed/$pkg-$ver.tar.gz
+
+<../default.mk
(DIR) diff --git a/sed/patches/config.sub-musl.diff b/sed/patches/config.sub-musl.diff
t@@ -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|'`
+ ;;