diff options
Diffstat (limited to 'Ports/libtool')
-rwxr-xr-x | Ports/libtool/package.sh | 16 | ||||
-rw-r--r-- | Ports/libtool/patches/config.sub.patch | 10 |
2 files changed, 26 insertions, 0 deletions
diff --git a/Ports/libtool/package.sh b/Ports/libtool/package.sh new file mode 100755 index 0000000000..914e6632cb --- /dev/null +++ b/Ports/libtool/package.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=libtool +version=2.4 +useconfigure="true" +depends="bash sed" +files="https://ftp.gnu.org/gnu/libtool/libtool-${version}.tar.xz libtool-${version}.tar.xz +https://ftp.gnu.org/gnu/libtool/libtool-${version}.tar.xz.sig libtool-${version}.tar.xz.sig +https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg" +auth_type="sig" +auth_opts="--keyring ./gnu-keyring.gpg libtool-${version}.tar.xz.sig" +configopts="--prefix=/usr/local" + +post_install() { + mkdir -p "${SERENITY_BUILD_DIR}/Root/usr/bin" + ln -sf /usr/local/bin/sed "${SERENITY_BUILD_DIR}/Root/usr/bin/sed" +} diff --git a/Ports/libtool/patches/config.sub.patch b/Ports/libtool/patches/config.sub.patch new file mode 100644 index 0000000000..eaad493ff7 --- /dev/null +++ b/Ports/libtool/patches/config.sub.patch @@ -0,0 +1,10 @@ +--- libtool-2.4.6/libltdl/config/config.sub 2010-09-22 07:46:09.000000000 -0700 ++++ libtool-2.4.6/libltdl/config/config.sub 2021-04-11 18:46:03.374661972 -0700 +@@ -1301,6 +1301,7 @@ + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ ++ | -serenity* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ |