| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 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/phpconfutils.eclass,v 1.1 2006/03/24 23:05:49 chtekk Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/phpconfutils.eclass,v 1.2 2006/04/18 12:21:14 chtekk Exp $ |
| 4 | # |
4 | # |
| 5 | # ######################################################################## |
5 | # ######################################################################## |
| 6 | # |
6 | # |
| 7 | # eclass/phpconfutils.eclass |
7 | # eclass/phpconfutils.eclass |
| 8 | # Utility functions to help with configuring PHP |
8 | # Utility functions to help with configuring PHP |
| … | |
… | |
| 393 | local x |
393 | local x |
| 394 | local my_found="0" |
394 | local my_found="0" |
| 395 | |
395 | |
| 396 | for x in ${CONFUTILS_MISSING_DEPS} ; do |
396 | for x in ${CONFUTILS_MISSING_DEPS} ; do |
| 397 | if useq "${x}" || phpconfutils_usecheck "${x}" ; then |
397 | if useq "${x}" || phpconfutils_usecheck "${x}" ; then |
| 398 | ewarn "USE flag ${x} enables support for software not present in Portage" |
398 | ewarn "USE flag ${x} enables support for software not present in Portage!" |
| 399 | my_found="1" |
399 | my_found="1" |
| 400 | fi |
400 | fi |
| 401 | done |
401 | done |
| 402 | |
402 | |
| 403 | if [[ "${my_found}" == "1" ]] ; then |
403 | if [[ "${my_found}" == "1" ]] ; then |
| 404 | ewarn |
404 | ewarn |
| 405 | ewarn "This ebuild will continue, but if you haven't already installed the" |
405 | ewarn "This ebuild will continue, but if you haven't already installed the" |
| 406 | ewarn "software required to satisfy the list above, this package will probably" |
406 | ewarn "software required to satisfy the list above, this package will probably" |
| 407 | ewarn "fail to compile later on." |
407 | ewarn "fail to compile later on." |
|
|
408 | ewarn "*DO NOT* file bugs about compile failures or issues you're having" |
|
|
409 | ewarn "when using one of those flags, as we aren't able to support them." |
|
|
410 | ewarn "|=|=|=|=|=|=| You are on your own if you use them! |=|=|=|=|=|=|" |
| 408 | ewarn |
411 | ewarn |
| 409 | sleep 5 |
412 | sleep 5 |
| 410 | fi |
413 | fi |
| 411 | } |
414 | } |
| 412 | |
415 | |