From c54a6a70c92e840203face02c1bd55c76839d943 Mon Sep 17 00:00:00 2001 From: Eirikr Hinngart <151315375+Oichkatzelesfrettschen@users.noreply.github.com> Date: Fri, 30 May 2025 23:05:36 -0700 Subject: [PATCH] Delete external/gpl2 directory --- external/gpl2/Makefile | 27 -------------- external/gpl2/gmake/fetch.sh | 31 ---------------- .../patches/0001-support-latest-glibc.patch | 36 ------------------- 3 files changed, 94 deletions(-) delete mode 100644 external/gpl2/Makefile delete mode 100755 external/gpl2/gmake/fetch.sh delete mode 100644 external/gpl2/gmake/patches/0001-support-latest-glibc.patch diff --git a/external/gpl2/Makefile b/external/gpl2/Makefile deleted file mode 100644 index 4e7fd64a3..000000000 --- a/external/gpl2/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# $NetBSD: Makefile,v 1.5 2009/04/08 17:24:55 christos Exp $ - -.include - -.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 diff --git a/external/gpl2/gmake/fetch.sh b/external/gpl2/gmake/fetch.sh deleted file mode 100755 index a89293276..000000000 --- a/external/gpl2/gmake/fetch.sh +++ /dev/null @@ -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 diff --git a/external/gpl2/gmake/patches/0001-support-latest-glibc.patch b/external/gpl2/gmake/patches/0001-support-latest-glibc.patch deleted file mode 100644 index 089a87ca4..000000000 --- a/external/gpl2/gmake/patches/0001-support-latest-glibc.patch +++ /dev/null @@ -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 --# 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 --# 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 --# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION -+# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION - # define ELIDE_CODE - # endif - #endif