eglibc: dont require autoconf-2.68

This commit is contained in:
Stefan Saraev 2014-04-24 22:43:56 +03:00 committed by Stephan Raue
parent 8cb1ced06b
commit d14a2e1529
2 changed files with 30 additions and 2 deletions

View File

@ -23,7 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.eglibc.org/"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="ccache:host autotools:host autoconf-2.68:host linux:host gcc:bootstrap"
PKG_DEPENDS_TARGET="ccache:host autotools:host autoconf:host linux:host gcc:bootstrap"
PKG_DEPENDS_INIT="eglibc"
PKG_PRIORITY="optional"
PKG_SECTION="toolchain/devel"
@ -70,7 +70,7 @@ EGLIBC_EXCLUDE_BIN="$EGLIBC_EXCLUDE_BIN xtrace zdump zic"
pre_build_target() {
cd $PKG_BUILD
aclocal --force --verbose
autoconf-2.68 --force --verbose
autoconf --force --verbose
cd -
}

View File

@ -0,0 +1,28 @@
From b702bd4fdb4aaebb6aadb3ce773bcc9eea8d2dc8 Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Thu, 24 Apr 2014 22:05:37 +0300
Subject: [PATCH] allow newer autoconf
---
aclocal.m4 | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/aclocal.m4 b/aclocal.m4
index bc48586..0e3c7f4 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2,11 +2,6 @@ dnl We require that everyone use exactly the same Autoconf version so that
dnl the internal functions defined and used by the main configure script
dnl match those expected by the fragments.
m4_define([GLIBC_AUTOCONF_VERSION], [2.68])
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), GLIBC_AUTOCONF_VERSION, [],
- [m4_fatal(m4_flatten(
-Exactly version GLIBC_AUTOCONF_VERSION of Autoconf is required but you have
-m4_defn([AC_AUTOCONF_VERSION])
-), [63])])dnl
dnl
dnl We define the macro GLIBC_PROVIDES to do an AC_PROVIDE for each macro
dnl which appears in configure.ac before the sysdep configure scripts are run.
--
1.7.2.5