| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.125 2004/12/07 01:32:01 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.126 2004/12/08 01:31:38 vapier Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Martin Schlemmer <azarah@gentoo.org> |
5 | # Author: Martin Schlemmer <azarah@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # This eclass is for general purpose functions that most ebuilds |
7 | # This eclass is for general purpose functions that most ebuilds |
| 8 | # have to implement themselves. |
8 | # have to implement themselves. |
| … | |
… | |
| 1533 | has $1 ${USE_BUILT} || return 1 |
1533 | has $1 ${USE_BUILT} || return 1 |
| 1534 | shift |
1534 | shift |
| 1535 | done |
1535 | done |
| 1536 | return 0 |
1536 | return 0 |
| 1537 | } |
1537 | } |
|
|
1538 | |
|
|
1539 | # Many configure scripts wrongly bail when a C++ compiler |
|
|
1540 | # could not be detected. #73450 |
|
|
1541 | epunt_cxx() { |
|
|
1542 | EPATCH_SINGLE_MSG="Removing useless C++ checks ..." \ |
|
|
1543 | epatch "${PORTDIR}/eclass/ELT-patches/nocxx/nocxx.patch" |
|
|
1544 | } |