From 798c59f27020f7e5d07f53d9508bb6612f3d4c14 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 22 Oct 2004 23:45:23 +0000 Subject: initial ebuild Break the automake wrapper (am-wrapper.pl) off into its own package. --- am-wrapper.pl | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/am-wrapper.pl b/am-wrapper.pl index 06df188..4deff78 100755 --- a/am-wrapper.pl +++ b/am-wrapper.pl @@ -74,23 +74,10 @@ sub ac_version { my $binary = "$0-1.4"; -my $binary_1_5 = "$0-1.5x"; -my $binary_1_6 = "$0-1.6x"; -my $binary_1_7 = "$0-1.7x"; -my $binary_1_8 = "$0-1.8x"; - -# Automake is really getting out of hand, so rather start supporting -# WANT_AUTOMAKE = "1.7" the like. Unfortunately it override the old -# variables, so if not set, just convert the old variables .... -if ($ENV{WANT_AUTOMAKE} eq "") { - if ($ENV{WANT_AUTOMAKE_1_4}) { - $ENV{WANT_AUTOMAKE} = '1.4'; - } elsif ($ENV{WANT_AUTOMAKE_1_6}) { - $ENV{WANT_AUTOMAKE} = '1.6'; - } elsif ($ENV{WANT_AUTOMAKE_1_5}) { - $ENV{WANT_AUTOMAKE} = '1.5'; - } -} +my $binary_1_5 = "$0-1.5"; +my $binary_1_6 = "$0-1.6"; +my $binary_1_7 = "$0-1.7"; +my $binary_1_8 = "$0-1.8"; # question here is do we really want 1.5 or 1.6? Out of a KDE outlook, it # should rather be 1.5, and since most people would rather have migrated to -- cgit v1.2.3-65-gdbad