Remove gmake support for cross-compilation

Change-Id: I41d5aec5e11df6c44438501b09f85c6ad5eba096
This commit is contained in:
2018-08-25 12:24:49 +02:00
parent 2054828fa8
commit 49621cbaa0
5 changed files with 0 additions and 12092 deletions

View File

@@ -1,27 +0,0 @@
# $NetBSD: Makefile,v 1.5 2009/04/08 17:24:55 christos Exp $
.include <bsd.own.mk>
.if defined(__MINIX) && 0
# LSC FIXME: Hackish way to trigger the fetch phase from here
# in the same way as from tools.
MODULE= gmake
.include "${.CURDIR}/../../tools/Makefile.gnuhost"
# Force the mapping to standard targets even when not building tools
# We considere work to be done as soon as the fetch step is done,
# as everything else has to be triggered from /tools or ../usr.bin
.if ${USETOOLS} != "yes"
realall realinstall: ${GNUHOSTDIST:H}/.gitignore
.endif # defined(__MINIX)
.if (${MKCVS} != "no")
SUBDIR+= xcvs
.endif
.if (${MKLVM} != "no")
SUBDIR+= lvm2
.endif
.include <bsd.subdir.mk>

View File

@@ -1,31 +0,0 @@
#!/bin/sh
# Make sure we're in our directory (i.e., where this shell script is)
echo $0
cd `dirname $0`
FETCH=ftp
which curl >/dev/null
if [ $? -eq 0 ]; then
FETCH="curl -O -f"
fi
# Configure fetch method - GMAKE
URL="http://www.minix3.org/pkgsrc/distfiles/minix/3.4.0/make-3.81.tar.bz2"
BACKUP_URL="ftp://ftp.gnu.org/gnu/make/make-3.81.tar.bz2"
# Fetch sources if not available
if [ ! -d dist ];
then
if [ ! -f make-3.81.tar.bz2 ]; then
$FETCH $URL
if [ $? -ne 0 ]; then
$FETCH $BACKUP_URL
fi
fi
tar -xjf make-3.81.tar.bz2 && \
mv make-3.81 dist && \
cd dist && \
cat ../patches/* | patch -p 1 || true
fi

File diff suppressed because it is too large Load Diff

View File

@@ -1,36 +0,0 @@
diff -rNU3 dist.orig/configure dist/configure
--- dist.orig/configure 2006-04-01 08:40:00.000000000 +0200
+++ dist/configure 2018-08-21 21:28:59.000000000 +0200
@@ -13622,7 +13622,7 @@
#define GLOB_INTERFACE_VERSION 1
#if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
# include <gnu-versions.h>
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
+# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION
gnu glob
# endif
#endif
diff -rNU3 dist.orig/configure.in dist/configure.in
--- dist.orig/configure.in 2018-08-21 21:29:42.000000000 +0200
+++ dist/configure.in 2018-08-21 21:29:24.000000000 +0200
@@ -354,7 +354,7 @@
#define GLOB_INTERFACE_VERSION 1
#if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
# include <gnu-versions.h>
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
+# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION
gnu glob
# endif
#endif
diff -rNU3 dist.orig/glob/glob.c dist/glob/glob.c
--- dist.orig/glob/glob.c 2006-03-10 03:20:45.000000000 +0100
+++ dist/glob/glob.c 2018-08-21 21:28:17.000000000 +0200
@@ -51,7 +51,7 @@
#define GLOB_INTERFACE_VERSION 1
#if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
# include <gnu-versions.h>
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
+# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION
# define ELIDE_CODE
# endif
#endif

View File

@@ -1,18 +0,0 @@
# $NetBSD: Makefile,v 1.4 2014/08/18 06:58:51 christos Exp $
#
GNUHOSTDIST= ${.CURDIR}/../../external/gpl2/gmake/dist
CONFIGURE_ENV+= CC=${HOST_CC:Q} \
CFLAGS=${HOST_CFLAGS:Q} \
CPPFLAGS=${HOST_CPPFLAGS:Q} \
CXX=${HOST_CXX:Q}
CONFIGURE_ARGS= --program-prefix=${_TOOL_PREFIX}g
CONFIGURE_ARGS+=--disable-nls
MAKE_ARGS= MAKEINFO=${TOOL_MAKEINFO:Q}
.NOTPARALLEL:
.include "${.CURDIR}/../Makefile.gnuhost"