automake111x: drop
This commit is contained in:
parent
ea73c2bd2d
commit
0500687912
@ -1,61 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
perl,
|
||||
autoconf,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "automake";
|
||||
version = "1.11.6";
|
||||
|
||||
# TODO: Remove the `aclocal' wrapper when $ACLOCAL_PATH support is
|
||||
# available upstream; see
|
||||
# <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9026>.
|
||||
builder = ./builder.sh;
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/automake/automake-${version}.tar.xz";
|
||||
sha256 = "1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./fix-test-autoconf-2.69.patch
|
||||
./fix-perl-5.26.patch
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
perl
|
||||
autoconf
|
||||
];
|
||||
buildInputs = [ autoconf ];
|
||||
|
||||
doCheck = false; # takes _a lot_ of time, fails 11 of 782 tests
|
||||
|
||||
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
||||
# "fixed" path in generated files!
|
||||
dontPatchShebangs = true;
|
||||
|
||||
# Run the test suite in parallel.
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
branch = "1.11";
|
||||
homepage = "https://www.gnu.org/software/automake/";
|
||||
description = "GNU standard-compliant makefile generator";
|
||||
|
||||
longDescription = ''
|
||||
GNU Automake is a tool for automatically generating
|
||||
`Makefile.in' files compliant with the GNU Coding
|
||||
Standards. Automake requires the use of Autoconf.
|
||||
'';
|
||||
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@ -1,45 +0,0 @@
|
||||
# Wrap the given `aclocal' program, appending extra `-I' flags
|
||||
# corresponding to the directories listed in $ACLOCAL_PATH. (Note
|
||||
# that `wrapProgram' can't be used for that purpose since it can only
|
||||
# prepend flags, not append them.)
|
||||
wrapAclocal() {
|
||||
local program="$1"
|
||||
local wrapped="$(dirname $program)/.$(basename $program)-wrapped"
|
||||
|
||||
mv "$program" "$wrapped"
|
||||
cat > "$program"<<EOF
|
||||
#! $SHELL -e
|
||||
|
||||
unset extraFlagsArray
|
||||
declare -a extraFlagsArray
|
||||
|
||||
oldIFS=\$IFS
|
||||
IFS=:
|
||||
for dir in \$ACLOCAL_PATH; do
|
||||
if test -n "\$dir" -a -d "\$dir"; then
|
||||
extraFlagsArray=("\${extraFlagsArray[@]}" "-I" "\$dir")
|
||||
fi
|
||||
done
|
||||
IFS=\$oldIFS
|
||||
|
||||
exec "$wrapped" "\$@" "\${extraFlagsArray[@]}"
|
||||
EOF
|
||||
chmod +x "$program"
|
||||
}
|
||||
|
||||
postInstall() {
|
||||
# Create a wrapper around `aclocal' that converts every element in
|
||||
# `ACLOCAL_PATH' into a `-I dir' option. This way `aclocal'
|
||||
# becomes modular; M4 macros do not need to be stored in a single
|
||||
# global directory, while callers of `aclocal' do not need to pass
|
||||
# `-I' options explicitly.
|
||||
|
||||
for prog in $out/bin/aclocal*; do
|
||||
wrapAclocal "$prog"
|
||||
done
|
||||
|
||||
ln -s aclocal-1.11 $out/share/aclocal
|
||||
ln -s automake-1.11 $out/share/automake
|
||||
}
|
||||
|
||||
genericBuild
|
||||
@ -1,10 +0,0 @@
|
||||
--- automake-1.11.2/automake.in
|
||||
+++ automake-1.11.2/automake.in
|
||||
@@ -4156,7 +4156,7 @@ sub substitute_ac_subst_variables_worker($)
|
||||
sub substitute_ac_subst_variables ($)
|
||||
{
|
||||
my ($text) = @_;
|
||||
- $text =~ s/\${([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge;
|
||||
+ $text =~ s/\$\{([^ \t=:+{}]+)}/&substitute_ac_subst_variables_worker ($1)/ge;
|
||||
return $text;
|
||||
}
|
||||
@ -1,13 +0,0 @@
|
||||
With Autoconf 2.69 (instead of 2.68), config.{guess,sub} are needed.
|
||||
|
||||
--- automake-1.11.2/tests/compile_f90_c_cxx.test 2011-12-20 21:56:29.000000000 +0100
|
||||
+++ automake-1.11.2/tests/compile_f90_c_cxx.test 2012-07-07 13:35:58.000000000 +0200
|
||||
@@ -41,7 +41,7 @@ END
|
||||
: > baz.cc
|
||||
|
||||
$ACLOCAL
|
||||
-$AUTOMAKE
|
||||
+$AUTOMAKE --add-missing
|
||||
|
||||
# Look for the macros at the beginning of rules. Be careful, as there
|
||||
# are literal tabs at the beginning of the search strings.
|
||||
@ -315,6 +315,7 @@ mapAliases {
|
||||
ats = throw "'ats' has been removed as it is unmaintained for 10 years and broken"; # Added 2025-05-17
|
||||
audaciousQt5 = throw "'audaciousQt5' has been removed, since audacious is built with Qt 6 now"; # Added 2024-07-06
|
||||
auditBlasHook = throw "'auditBlasHook' has been removed since it never worked"; # Added 2024-04-02
|
||||
automake111x = throw "'automake111x' has been removed in favor of 'automake'"; # Added 2025-07-21
|
||||
autoReconfHook = throw "You meant 'autoreconfHook', with a lowercase 'r'."; # preserve
|
||||
autoreconfHook264 = throw "'autoreconfHook264' has been removed in favor of 'autoreconfHook'"; # Added 2025-07-21
|
||||
aumix = throw "'aumix' has been removed due to lack of maintenance upstream. Consider using 'pamixer' for CLI or 'pavucontrol' for GUI"; # Added 2024-09-14
|
||||
|
||||
@ -6868,8 +6868,6 @@ with pkgs;
|
||||
|
||||
automake = automake116x;
|
||||
|
||||
automake111x = callPackage ../development/tools/misc/automake/automake-1.11.x.nix { };
|
||||
|
||||
automake116x = callPackage ../development/tools/misc/automake/automake-1.16.x.nix { };
|
||||
|
||||
automake118x = callPackage ../development/tools/misc/automake/automake-1.18.x.nix { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user