Add make 4.2.1

This commit is contained in:
fosslinux 2021-04-28 16:15:58 +10:00
parent e773e65f1c
commit 170718c823
6 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1 @@
c52511b504311f960636173d825a985ac551f6254fb85dced27fdae74ee652c4 /after/bin/make

30
sysa/make-4.2.1/make-4.2.1.sh Executable file
View file

@ -0,0 +1,30 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
rm doc/make.info
touch doc/make.info
# We don't have autopoint from gettext yet
AUTOPOINT=true autoreconf -fi
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu \
--disable-nls
}
src_compile() {
make MAKEINFO="true"
}
src_install() {
make install MAKEINFO="true" DESTDIR="${DESTDIR}"
}

View file

@ -0,0 +1,28 @@
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: GPL-3.0-or-later
pkg-config is not yet avaliable.
--- configure.ac 2021-04-21 17:02:44.864090500 +1000
+++ configure.ac 2021-04-21 17:03:31.468411937 +1000
@@ -160,19 +160,9 @@
AC_FUNC_CLOSEDIR_VOID
# See if the user wants to add (or not) GNU Guile support
-PKG_PROG_PKG_CONFIG
AC_ARG_WITH([guile], [AS_HELP_STRING([--with-guile],
[Support GNU Guile for embedded scripting])])
-# For some strange reason, at least on Ubuntu, each version of Guile
-# comes with it's own PC file so we have to specify them as individual
-# packages. Ugh.
-AS_IF([test "x$with_guile" != xno],
-[ PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes],
- [PKG_CHECK_MODULES([GUILE], [guile-1.8], [have_guile=yes],
- [have_guile=no])])
-])
-
AS_IF([test "$have_guile" = yes],
[AC_DEFINE([HAVE_GUILE], [1], [Embed GNU Guile support])])

View file

@ -26,6 +26,8 @@ build coreutils-8.32
build tar-1.34
build make-4.2.1
build gmp-6.2.1
build autoconf-archive-2021.02.19