ports: Add make port
This commit is contained in:
parent
17014bb8de
commit
22374ac8f7
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash ../install.sh
|
||||||
|
|
||||||
|
NAME='make'
|
||||||
|
VERSION='4.4.1'
|
||||||
|
DOWNLOAD_URL="https://ftp.gnu.org/gnu/make/make-$VERSION.tar.gz#dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3"
|
||||||
|
CONFIGURE_OPTIONS=(
|
||||||
|
'--with-sysroot=/'
|
||||||
|
'--disable-nls'
|
||||||
|
'--disable-posix-spawn'
|
||||||
|
'--enable-year2038'
|
||||||
|
)
|
|
@ -0,0 +1,12 @@
|
||||||
|
diff -ruN make-4.4.1/build-aux/config.sub make-4.4.1-banan_os/build-aux/config.sub
|
||||||
|
--- make-4.4.1/build-aux/config.sub 2023-02-18 17:38:13.000000000 +0200
|
||||||
|
+++ make-4.4.1-banan_os/build-aux/config.sub 2024-12-04 23:15:11.865989888 +0200
|
||||||
|
@@ -1758,7 +1758,7 @@
|
||||||
|
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||||
|
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
||||||
|
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
|
||||||
|
- | fiwix* | mlibc* )
|
||||||
|
+ | fiwix* | mlibc* | banan_os* )
|
||||||
|
;;
|
||||||
|
# This one is extra strict with allowed versions
|
||||||
|
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
|
@ -0,0 +1,12 @@
|
||||||
|
diff -ruN make-4.4.1/src/arscan.c make-4.4.1-banan_os/src/arscan.c
|
||||||
|
--- make-4.4.1/src/arscan.c 2023-01-08 17:45:38.000000000 +0200
|
||||||
|
+++ make-4.4.1-banan_os/src/arscan.c 2024-12-04 23:49:39.898722479 +0200
|
||||||
|
@@ -331,7 +331,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef WINDOWS32
|
||||||
|
-# if !defined (__ANDROID__) && !defined (__BEOS__) && !defined(MK_OS_ZOS)
|
||||||
|
+# if !defined (__ANDROID__) && !defined (__BEOS__) && !defined(MK_OS_ZOS) && !defined(__banan_os__)
|
||||||
|
# include <ar.h>
|
||||||
|
# else
|
||||||
|
/* These platforms don't have <ar.h> but have archives in the same format
|
Loading…
Reference in New Issue