bmake: add a patch to make $SHELL handling POSIX compatible
authorSteffen Nurpmeso <steffen@sdaoden.eu>
Tue, 22 Dec 2020 20:15:46 +0000 (21:15 +0100)
committerSteffen Nurpmeso <steffen@sdaoden.eu>
Tue, 22 Dec 2020 20:15:46 +0000 (21:15 +0100)
REPO
bmake/.signature
bmake/Pkgfile
bmake/simon.patch [new file with mode: 0644]

diff --git a/REPO b/REPO
index 793664f1b1afc3fd9534a2bd28faa50f3bb00741..27280c61ae568c895c157bca5ba2ba41524fb3ae 100644 (file)
--- a/REPO
+++ b/REPO
@@ -54,9 +54,10 @@ f:d1581ef51f1735057203f5851b344066:pcc-libs/.footprint
 f:cb15f967091ce5156f9480a151a522d5:pcc-libs/.signature
 f:bde84c3f6a3c3acb58b50b7f306c7621:pcc-libs/Pkgfile
 f:ac312642ef203fb76148d47868379be6:bmake/.footprint
-f:f7d039fea2a862d102d770a489fffee7:bmake/.signature
-f:0ea8f752e4082aa31467f9e0c09025b2:bmake/Pkgfile
+f:492a609cafe9268b78f60d1d43c433e9:bmake/.signature
 f:36d179fff707fcc534e862bba7b3dc6a:bmake/u-t-makefile.patch
+f:2332187eb8a69e2716ecc9d9dfee236e:bmake/simon.patch
+f:ff0069a7da3b17ec7b16563768340626:bmake/Pkgfile
 f:b65c46f1d75fb65ddb49bdfe6c211cd0:mawk-debian/.footprint
 f:97104e84589fdf866d1ce6d66646850c:mawk-debian/.signature
 f:7077f9a24d53923abd08613295a75084:mawk-debian/Pkgfile
index d4129f587bdcb60b32f8ec2914245c479e3c81ac..1c2cedf4addedf98d53d054f80f6b75ba3ca5e2b 100644 (file)
@@ -1,6 +1,7 @@
 untrusted comment: verify with /etc/ports/stenur.pub
-RWQEMWjN1NA43wz30JRQj/YdZQATeCbHicUBLoRWZK+hLHrPlg/l8iaeMU+gM/ZpbPpucz26p7iZKl6EWYOE6Gd1BdZUoIdCSQs=
-SHA256 (Pkgfile) = c6ec1b0a360e8f5b88bf3f6e46a76ff0c8f71efceec97b91d5280d8b868ab32c
+RWQEMWjN1NA431HOudiSny5DjrSb7+deZRDiTW8yw8WrJd9gcoLYEAPt6memBCEzxHYg7/VWmsCKr3hlaijwYM6m/4Zu2FPs/ws=
+SHA256 (Pkgfile) = 25f29486032c3a522ffbbd5dace4466ea71e4c08d2e33c2d98883c566ceb9446
 SHA256 (.footprint) = 2d6e83e9f38f0ca1ab19a1e945a247fee040d11f75aa324bb4fc21222a9f1f2e
 SHA256 (bmake-20201212.tar.gz) = 7027e8533f1313cdbf17a9806256068cb6286440e76e0518d77d96aa062bf242
 SHA256 (u-t-makefile.patch) = 5a504adb00ca5966a17d5046f257773591d0e1cc4d1fb2ff62130cdec5ccc10f
+SHA256 (simon.patch) = 13adb9f7b390d001bb656f2cc7e2b49e2dc7ae29bcb5ba0f347f4aac5b5c4615
index d64a8ec80d4216b517e62586024f6ec9d7c0d534..5d91ffcb19114bd1282835bc943005bbb34a01c5 100644 (file)
@@ -4,14 +4,15 @@
 
 name=bmake
 version=20201212
-release=1
+release=2
 source=(http://www.crufty.net/ftp/pub/sjg/$name-$version.tar.gz
-   u-t-makefile.patch)
+   u-t-makefile.patch simon.patch)
 
 build() {
    cd $name
 
    patch -p0 < ../u-t-makefile.patch
+   patch -p1 < ../simon.patch
 
    mkdir -p build
    cd build
diff --git a/bmake/simon.patch b/bmake/simon.patch
new file mode 100644 (file)
index 0000000..b0211df
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Napru bmake.orig/mk/sys.mk bmake/mk/sys.mk
+--- bmake.orig/mk/sys.mk       2020-08-19 19:52:06.000000000 +0200
++++ bmake/mk/sys.mk    2020-12-22 20:24:45.701882157 +0100
+@@ -119,7 +119,7 @@ unix ?= We run ${_HOST_OSNAME}.
+ # We need a Bourne/POSIX shell
+ MAKE_SHELL ?= sh
+-SHELL ?= ${MAKE_SHELL}
++SHELL := ${.SHELL}
+ # A race condition in mkdir, means that it can bail if another
+ # process made a dir that mkdir expected to.
This page took 0.04865 seconds and 4 git commands to generate.