From f45467f6abd0178be9f0907fe9d8947cadaf5bb1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 16 Nov 2006 17:45:04 +0000 Subject: [PATCH] query the toolchain to see if it supports regex.h Package-Manager: portage-2.1.2_rc1-r6 --- sys-apps/findutils/Manifest | 32 ++++++++++---------- sys-apps/findutils/findutils-4.3.0.ebuild | 6 ++-- sys-apps/findutils/findutils-4.3.1-r1.ebuild | 6 ++-- sys-apps/findutils/findutils-4.3.1.ebuild | 6 ++-- 4 files changed, 22 insertions(+), 28 deletions(-) diff --git a/sys-apps/findutils/Manifest b/sys-apps/findutils/Manifest index 97dd1cb4f688..62876c919fb2 100644 --- a/sys-apps/findutils/Manifest +++ b/sys-apps/findutils/Manifest @@ -58,18 +58,18 @@ EBUILD findutils-4.2.28.ebuild 1934 RMD160 05e91de3a28aa93864aa84101cabb70b27263 MD5 42c17ad607e6c400b6b3b4c66dd7b104 findutils-4.2.28.ebuild 1934 RMD160 05e91de3a28aa93864aa84101cabb70b27263d06 findutils-4.2.28.ebuild 1934 SHA256 67baba5dc41f2f0369a3225deefee7770ec4e8761c03bb6705488883290b1896 findutils-4.2.28.ebuild 1934 -EBUILD findutils-4.3.0.ebuild 2137 RMD160 10576f3bbafe3ba264df18e8b010afa861b578be SHA1 3dc00d35703299c55cdba6bc4e5d902e9c1c5291 SHA256 14817aeb5790973e849f3e1cddfa8bc95d670783a850f0a8d06fa52cccace491 -MD5 61debddb9697ea9b71b6879eab243f54 findutils-4.3.0.ebuild 2137 -RMD160 10576f3bbafe3ba264df18e8b010afa861b578be findutils-4.3.0.ebuild 2137 -SHA256 14817aeb5790973e849f3e1cddfa8bc95d670783a850f0a8d06fa52cccace491 findutils-4.3.0.ebuild 2137 -EBUILD findutils-4.3.1-r1.ebuild 1904 RMD160 e1338a0986ed77128539615ef22c20cdb4046bad SHA1 0f4049ddf99eef36f943645a17085303724be646 SHA256 ad2a8c253640403dc95134dfd47d3a50518902eb7a2f6d672ca89919c97d3ebc -MD5 cf1df2cf04ae33fdc0fe0afdaf306b2a findutils-4.3.1-r1.ebuild 1904 -RMD160 e1338a0986ed77128539615ef22c20cdb4046bad findutils-4.3.1-r1.ebuild 1904 -SHA256 ad2a8c253640403dc95134dfd47d3a50518902eb7a2f6d672ca89919c97d3ebc findutils-4.3.1-r1.ebuild 1904 -EBUILD findutils-4.3.1.ebuild 1803 RMD160 c1259d61118f57e04ebea68e6deef91acbe2108e SHA1 ab8ef6fd080bc4b02c975fb4c78d09f4ec94cf1f SHA256 65d91e3d9ee17478d7769f535fed5a6098cf3cf868826bd4ffff8aad921d7b3e -MD5 5763872006044e542e4a16f54149b710 findutils-4.3.1.ebuild 1803 -RMD160 c1259d61118f57e04ebea68e6deef91acbe2108e findutils-4.3.1.ebuild 1803 -SHA256 65d91e3d9ee17478d7769f535fed5a6098cf3cf868826bd4ffff8aad921d7b3e findutils-4.3.1.ebuild 1803 +EBUILD findutils-4.3.0.ebuild 2087 RMD160 70f1bf7d00318a8b361779f7f9a6d107d2a398db SHA1 6b91c90d5abe1a595cd4df9579f35a1fb41d5c8d SHA256 7f5dd23322ee5daf69f5370b6fca3ae8f1845c66938418dc959d9e8c276814ba +MD5 3e93ffa0d15887cd3282c3c70fd49edc findutils-4.3.0.ebuild 2087 +RMD160 70f1bf7d00318a8b361779f7f9a6d107d2a398db findutils-4.3.0.ebuild 2087 +SHA256 7f5dd23322ee5daf69f5370b6fca3ae8f1845c66938418dc959d9e8c276814ba findutils-4.3.0.ebuild 2087 +EBUILD findutils-4.3.1-r1.ebuild 1854 RMD160 29ec3d1efc0928c70ff0b89b31bfd4429cc4b7e2 SHA1 39d6e66f92152f4501b49ba3283972c39496f59b SHA256 4190bbce5dcf0d80ffc335deeb6b26b106e57253ba787629d5898113234f7d2d +MD5 cce1cdc62557b5ea58ef10f13c00fa21 findutils-4.3.1-r1.ebuild 1854 +RMD160 29ec3d1efc0928c70ff0b89b31bfd4429cc4b7e2 findutils-4.3.1-r1.ebuild 1854 +SHA256 4190bbce5dcf0d80ffc335deeb6b26b106e57253ba787629d5898113234f7d2d findutils-4.3.1-r1.ebuild 1854 +EBUILD findutils-4.3.1.ebuild 1753 RMD160 53f3c71bafd3ad9882e73733664fffe8fd2ba84a SHA1 dc271ff49e8d4644cb4770b08b4991da0e5c2227 SHA256 af91cc66ac7e27e21d0fb888d199e93f0208b30f13a347feda5989ce93a82485 +MD5 82569952f513f32ed2c3590198e43a25 findutils-4.3.1.ebuild 1753 +RMD160 53f3c71bafd3ad9882e73733664fffe8fd2ba84a findutils-4.3.1.ebuild 1753 +SHA256 af91cc66ac7e27e21d0fb888d199e93f0208b30f13a347feda5989ce93a82485 findutils-4.3.1.ebuild 1753 MISC ChangeLog 12554 RMD160 2c31c0c123b28ad6dacf4354e877158e819a92d0 SHA1 b17b1ee23daf66097fadd7df587ba3d9e1d5337f SHA256 6b4b29d1dac722a6440cfbda4049d1511ae07f4501bac344339a0ef37a5c2bc8 MD5 df5f69b6e17e5ded4cfedba2872f8fb0 ChangeLog 12554 RMD160 2c31c0c123b28ad6dacf4354e877158e819a92d0 ChangeLog 12554 @@ -97,9 +97,9 @@ MD5 4320a8a8abd00394ec23827c0f65230f files/digest-findutils-4.3.1-r1 250 RMD160 aa5c3e3875c1af00c5ffe2300fbd4624a1defc96 files/digest-findutils-4.3.1-r1 250 SHA256 9d6fcf207ab4e0b103a067c7c109cb25f2f07a732935435552ca04f582e1c2d1 files/digest-findutils-4.3.1-r1 250 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) +Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFUKPMKRy60XGEcJIRAsGrAKCxqRyorLrlp7r8MGXC5A9WQEecGQCfdxIi -vO+o0KqW86Dgx1UYF2tKIrU= -=d/Fw +iD8DBQFFXKPIamhnQswr0vIRAl7JAKCO60f4XWKLkffUT8IRjFovBzJYeQCaAo73 +8I9XABM9F05l4uuGdXOcWjc= +=EUAK -----END PGP SIGNATURE----- diff --git a/sys-apps/findutils/findutils-4.3.0.ebuild b/sys-apps/findutils/findutils-4.3.0.ebuild index 6d8a0ff18eba..3d9b6409ed9f 100644 --- a/sys-apps/findutils/findutils-4.3.0.ebuild +++ b/sys-apps/findutils/findutils-4.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.3.0.ebuild,v 1.17 2006/09/09 16:56:26 christel Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.3.0.ebuild,v 1.18 2006/11/16 17:45:04 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -48,9 +48,7 @@ src_compile() { local myconf use userland_GNU || myconf=" --program-prefix=g" - if ([[ ${ELIBC} == "glibc" ]] && has_version '>=sys-libs/glibc-2.3') \ - || [[ ${ELIBC} == "uclibc" ]] - then + if echo "#include " | $(tc-getCPP) > /dev/null ; then myconf="${myconf} --without-included-regex" fi diff --git a/sys-apps/findutils/findutils-4.3.1-r1.ebuild b/sys-apps/findutils/findutils-4.3.1-r1.ebuild index 078f18c9ed5c..27e5e3a9d792 100644 --- a/sys-apps/findutils/findutils-4.3.1-r1.ebuild +++ b/sys-apps/findutils/findutils-4.3.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.3.1-r1.ebuild,v 1.2 2006/11/07 15:18:43 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.3.1-r1.ebuild,v 1.3 2006/11/16 17:45:04 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs multilib @@ -47,9 +47,7 @@ src_compile() { local myconf use userland_GNU || myconf=" --program-prefix=g" - if ([[ ${ELIBC} == "glibc" ]] && has_version '>=sys-libs/glibc-2.3') \ - || [[ ${ELIBC} == "uclibc" ]] - then + if echo "#include " | $(tc-getCPP) > /dev/null ; then myconf="${myconf} --without-included-regex" fi diff --git a/sys-apps/findutils/findutils-4.3.1.ebuild b/sys-apps/findutils/findutils-4.3.1.ebuild index 7976322c28f7..cf776992e16b 100644 --- a/sys-apps/findutils/findutils-4.3.1.ebuild +++ b/sys-apps/findutils/findutils-4.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.3.1.ebuild,v 1.2 2006/09/19 01:06:19 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.3.1.ebuild,v 1.3 2006/11/16 17:45:04 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs multilib @@ -44,9 +44,7 @@ src_compile() { local myconf use userland_GNU || myconf=" --program-prefix=g" - if ([[ ${ELIBC} == "glibc" ]] && has_version '>=sys-libs/glibc-2.3') \ - || [[ ${ELIBC} == "uclibc" ]] - then + if echo "#include " | $(tc-getCPP) > /dev/null ; then myconf="${myconf} --without-included-regex" fi -- 2.26.2