ports: Add mpc port
This will be used by gcc
This commit is contained in:
10
ports/mpc/build.sh
Executable file
10
ports/mpc/build.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='mpc'
|
||||
VERSION='1.3.1'
|
||||
DOWNLOAD_URL="https://ftp.gnu.org/gnu/mpc/mpc-$VERSION.tar.gz#ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8"
|
||||
DEPENDENCIES=('gmp' 'mpfr')
|
||||
CONFIGURE_OPTIONS=(
|
||||
"--target=$BANAN_TOOLCHAIN_TRIPLE"
|
||||
"--with-sysroot=$BANAN_SYSROOT"
|
||||
)
|
||||
13
ports/mpc/patches/0001-add-banan_os-target.patch
Normal file
13
ports/mpc/patches/0001-add-banan_os-target.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff -ruN mpc-1.3.1/build-aux/config.sub mpc-1.3.1-banan_os/build-aux/config.sub
|
||||
--- mpc-1.3.1/build-aux/config.sub 2022-12-08 14:23:21.000000000 +0200
|
||||
+++ mpc-1.3.1-banan_os/build-aux/config.sub 2024-08-07 22:52:40.072912471 +0300
|
||||
@@ -1748,7 +1748,8 @@
|
||||
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
|
||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
||||
- | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
|
||||
+ | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
|
||||
+ | banan_os* )
|
||||
;;
|
||||
# This one is extra strict with allowed versions
|
||||
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
||||
Reference in New Issue
Block a user