autoconf271, autoreconfHook271: drop unused (#504507)
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
https://savannah.gnu.org/support/index.php?110521
|
||||
https://git.savannah.gnu.org/cgit/autoconf.git/patch/?id=3a9802d60156809c139e9b4620bf04917e143ee2
|
||||
--- a/lib/Autom4te/FileUtils.pm
|
||||
+++ b/lib/Autom4te/FileUtils.pm
|
||||
@@ -34,12 +34,12 @@ This perl module provides various general purpose file handling functions.
|
||||
|
||||
=cut
|
||||
|
||||
-use 5.006;
|
||||
+use 5.008;
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
|
||||
use Exporter;
|
||||
-use File::stat;
|
||||
+use Time::HiRes qw(stat);
|
||||
use IO::File;
|
||||
|
||||
use Autom4te::Channels;
|
||||
@@ -115,10 +115,11 @@ sub mtime ($)
|
||||
return 0
|
||||
if $file eq '-' || ! -f $file;
|
||||
|
||||
- my $stat = stat ($file)
|
||||
+ my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
|
||||
+ $atime,$mtime,$ctime,$blksize,$blocks) = stat ($file)
|
||||
or fatal "cannot stat $file: $!";
|
||||
|
||||
- return $stat->mtime;
|
||||
+ return $mtime;
|
||||
}
|
||||
|
||||
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
@@ -1,83 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
m4,
|
||||
perl,
|
||||
texinfo,
|
||||
}:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||
# cgit) that are needed here should be included directly in Nixpkgs as
|
||||
# files.
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "autoconf";
|
||||
version = "2.71";
|
||||
outputs = [
|
||||
"out"
|
||||
"doc"
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/autoconf/autoconf-${version}.tar.xz";
|
||||
sha256 = "197sl23irn6s9pd54rxj5vcp5y8dv65jb9yfqgr2g56cxg7q6k7i";
|
||||
};
|
||||
patches = [
|
||||
# fix stale autom4te cache race condition:
|
||||
# https://savannah.gnu.org/support/index.php?110521
|
||||
./2.71-fix-race.patch
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
m4
|
||||
perl
|
||||
texinfo
|
||||
];
|
||||
buildInputs = [ m4 ];
|
||||
postBuild = "
|
||||
make html
|
||||
";
|
||||
|
||||
postInstall = "
|
||||
make install-html
|
||||
";
|
||||
|
||||
# Work around a known issue in Cygwin. See
|
||||
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
|
||||
# details.
|
||||
# There are many test failures on `i386-pc-solaris2.11'.
|
||||
doCheck = ((!stdenv.hostPlatform.isCygwin) && (!stdenv.hostPlatform.isSunOS));
|
||||
|
||||
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
||||
# "fixed" path in generated files!
|
||||
dontPatchShebangs = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Make the Autotest test suite run in parallel.
|
||||
preCheck = ''
|
||||
export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/autoconf/";
|
||||
description = "Part of the GNU Build System";
|
||||
|
||||
longDescription = ''
|
||||
GNU Autoconf is an extensible package of M4 macros that produce
|
||||
shell scripts to automatically configure software source code
|
||||
packages. These scripts can adapt the packages to many kinds of
|
||||
UNIX-like systems without manual user intervention. Autoconf
|
||||
creates a configuration script for a package from a template
|
||||
file that lists the operating system features that the package
|
||||
can use, in the form of M4 macro calls.
|
||||
'';
|
||||
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -338,9 +338,11 @@ mapAliases {
|
||||
autobase = throw "'autobase' is a Node library, use buildNpmPackage for that"; # Added 2025-09-26
|
||||
autoconf213 = throw "'autoconf213' has been removed in favor of 'autoconf'"; # Added 2025-07-21
|
||||
autoconf264 = throw "'autoconf264' has been removed in favor of 'autoconf'"; # Added 2025-07-21
|
||||
autoconf271 = throw "'autoconf271' has been removed in favor of 'autoconf'"; # Added 2026-03-29
|
||||
automake111x = throw "'automake111x' has been removed in favor of 'automake'"; # Added 2025-07-21
|
||||
autopanosiftc = throw "'autopanosiftc' has been removed, as it is unmaintained upstream"; # Added 2025-10-07
|
||||
autoreconfHook264 = throw "'autoreconfHook264' has been removed in favor of 'autoreconfHook'"; # Added 2025-07-21
|
||||
autoreconfHook271 = throw "'autoreconfHook271' has been removed in favor of 'autoreconfHook'"; # Added 2026-03-29
|
||||
av-98 = throw "'av-98' has been removed because it has been broken since at least November 2024."; # Added 2025-10-03
|
||||
avr-sim = throw "'avr-sim' has been removed as it was broken and unmaintained. Possible alternatives are 'simavr', SimulAVR and AVRStudio."; # Added 2025-05-31
|
||||
awesome-4-0 = throw "'awesome-4-0' has been renamed to/replaced by 'awesome'"; # Converted to throw 2025-10-27
|
||||
|
||||
@@ -233,9 +233,6 @@ with pkgs;
|
||||
autoreconfHook269 = autoreconfHook.override {
|
||||
autoconf = autoconf269;
|
||||
};
|
||||
autoreconfHook271 = autoreconfHook.override {
|
||||
autoconf = autoconf271;
|
||||
};
|
||||
|
||||
autoPatchelfHook = makeSetupHook {
|
||||
name = "auto-patchelf-hook";
|
||||
@@ -5479,7 +5476,6 @@ with pkgs;
|
||||
|
||||
autoconf = callPackage ../development/tools/misc/autoconf { };
|
||||
autoconf269 = callPackage ../development/tools/misc/autoconf/2.69.nix { };
|
||||
autoconf271 = callPackage ../development/tools/misc/autoconf/2.71.nix { };
|
||||
|
||||
automake = automake118x;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user