From fb89a563c3425817852eb00d258f030ef04ed918 Mon Sep 17 00:00:00 2001 From: nitori Date: Mon, 1 Jan 2024 21:08:09 +0000 Subject: [PATCH] make: replace with pdpmake, at 1.4.1 split from patch provided by emma --- core/make/README | 45 --------------------------------------------- core/make/build | 14 ++++++++------ core/make/checksums | 2 +- core/make/sources | 2 +- core/make/version | 2 +- 5 files changed, 11 insertions(+), 54 deletions(-) delete mode 100644 core/make/README diff --git a/core/make/README b/core/make/README deleted file mode 100644 index 42500100..00000000 --- a/core/make/README +++ /dev/null @@ -1,45 +0,0 @@ -make -________________________________________________________________________________ - -GNU Make (short gmake) is the standard implementation of Make for Linux and -macOS. It provides several extensions over the original Make, such as -conditionals. It also provides many built-in functions which can be used to -eliminate the need for shell-scripting in the makefile rules as well as to -manipulate the variables set and used in the makefile. For example, the foreach -function can be used to iterate over a list of values, such as the names of -files in a given directory. GNU Make is required for building many software -systems, including GCC (since version 3.4), the Linux kernel, LibreOffice and -Mozilla Firefox. [0] - -Upstream: https://www.gnu.org/software/make/ - - -[000] Index -________________________________________________________________________________ - -* Installation ........................................................... [001] -* Usage .................................................................. [002] -* References ............................................................. [003] - - -[001] Installation -________________________________________________________________________________ - -+------------------------------------------------------------------------------+ -| | -| $ kiss b make | -| | -+------------------------------------------------------------------------------+ - - -[002] Usage -________________________________________________________________________________ - -Refer to the manual pages and command help output. - - -[003] References -________________________________________________________________________________ - -[0] https://en.wikipedia.org/wiki/Make_(software) - diff --git a/core/make/build b/core/make/build index dcb643b3..7baa4cc8 100755 --- a/core/make/build +++ b/core/make/build @@ -1,10 +1,12 @@ #!/bin/sh -e -export LDFLAGS="$LDFLAGS -static" +export DESTDIR="$1" +export PREFIX=/usr -./configure \ - --prefix=/usr \ - --disable-nls +cc -o make *.c +./make +./make test -make -make DESTDIR="$1" install +mkdir -p "$1/usr/bin" +cp -f make "$1/usr/bin/pdpmake" +ln -s pdpmake "$1/usr/bin/make" diff --git a/core/make/checksums b/core/make/checksums index a4c1387b..cbfe0851 100644 --- a/core/make/checksums +++ b/core/make/checksums @@ -1 +1 @@ -a7d8aee97b7e9a525ef561afa84eea0d929f246e3aafa420231c0602151cf9eb03 +223f9918caa4c8b841bbbc37f57c0bf5e41e612f3f4145b323ffc78e6e52df87 pdpmake-1.4.1.tgz diff --git a/core/make/sources b/core/make/sources index ebbd0bc3..3a6f057c 100644 --- a/core/make/sources +++ b/core/make/sources @@ -1 +1 @@ -https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz +https://frippery.org/make/pdpmake-1.4.1.tgz diff --git a/core/make/version b/core/make/version index 2cb41e4b..e187c17e 100644 --- a/core/make/version +++ b/core/make/version @@ -1 +1 @@ -4.4.1 1 +1.4.1 1