bmake: 20230414 -> 20230711
This commit is contained in:
parent
14d3808d2b
commit
741bedef5b
@ -10,11 +10,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bmake";
|
||||
version = "20230414";
|
||||
version = "20230711";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.crufty.net/ftp/pub/sjg/bmake-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-KcsdJqrn3p3vkr2us6rUUg6JlRzpey518LibrhuVOZ8=";
|
||||
hash = "sha256-CoFULAPxoObCe/UBXY+7xSY04RkIOOx9p2RYR9kzL+8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -25,17 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Always enable ksh test since it checks in a impure location /bin/ksh
|
||||
./unconditional-ksh-test.patch
|
||||
# decouple tests from build phase
|
||||
(fetchpatch {
|
||||
name = "separate-tests.patch";
|
||||
url = "https://raw.githubusercontent.com/alpinelinux/aports/2a36f7b79df44136c4d2b8e9512f908af65adfee/community/bmake/separate-tests.patch";
|
||||
hash = "sha256-KkmqASAl46/6Of7JLOQDFUqkOw3rGLxnNmyg7Lk0RwM=";
|
||||
})
|
||||
# add a shebang to bmake's install(1) replacement
|
||||
(fetchpatch {
|
||||
name = "install-sh.patch";
|
||||
url = "https://raw.githubusercontent.com/alpinelinux/aports/34cd8c45397c63c041cf3cbe1ba5232fd9331196/community/bmake/install-sh.patch";
|
||||
hash = "sha256-RvFq5nsmDxq54UTnXGlfO6Rip/XQYj0ZySatqUxjEX0=";
|
||||
})
|
||||
./dont-test-while-installing.diff
|
||||
];
|
||||
|
||||
# Make tests work with musl
|
||||
|
@ -0,0 +1,21 @@
|
||||
diff -Naur bmake-old/boot-strap bmake-new/boot-strap
|
||||
--- bmake-old/boot-strap 2023-06-27 18:02:19.000000000 -0300
|
||||
+++ bmake-new/boot-strap 2023-07-23 22:31:02.334720661 -0300
|
||||
@@ -413,9 +413,6 @@
|
||||
[ -s make-bootstrap.sh ] || op_configure
|
||||
chmod 755 make-bootstrap.sh || exit 1
|
||||
./make-bootstrap.sh || exit 1
|
||||
- case "$op" in
|
||||
- build) op_test;;
|
||||
- esac
|
||||
}
|
||||
|
||||
op_test() {
|
||||
@@ -434,7 +431,6 @@
|
||||
}
|
||||
|
||||
op_install() {
|
||||
- op_test
|
||||
case "$INSTALL_PREFIX,$INSTALL_BIN,$prefix" in
|
||||
,$HOST_TARGET/bin,*/$HOST_TARGET)
|
||||
INSTALL_PREFIX=`dirname $prefix`
|
Loading…
Reference in New Issue
Block a user