/[gentoo-x86]/eclass/phpconfutils.eclass
Gentoo

Diff of /eclass/phpconfutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.6
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2007 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.4 2006/07/14 16:02:36 chtekk Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/phpconfutils.eclass,v 1.6 2007/09/01 15:58:17 jokey Exp $
4# 4#
5# ######################################################################## 5# ########################################################################
6# 6#
7# eclass/phpconfutils.eclass
8# Utility functions to help with configuring PHP
9#
10# Based on Stuart's work on the original confutils eclass 7# Based on Stuart's work on the original confutils eclass
11# 8#
12# Author(s) Luca Longinotti 9# Author(s): Luca Longinotti <chtekk@gentoo.org>
13# <chtekk@gentoo.org>
14# 10#
15# Maintained by the PHP Herd <php-bugs@gentoo.org>
16#
17# ======================================================================== 11# ========================================================================
12
13# @ECLASS: phpconfutils.eclass
14# @MAINTAINER:
15# Gentoo PHP team <php-bugs@gentoo.org>
16# @BLURB: Provides utility functions to help with configuring PHP.
17# @DESCRIPTION:
18# This eclass provides utility functions to help with configuring PHP.
19# It is only used by other php eclasses currently and the functions
20# are not generally intended for direct use in ebuilds.
21
18 22
19# ======================================================================== 23# ========================================================================
20# List of USE flags that need deps that aren't yet in Portage 24# List of USE flags that need deps that aren't yet in Portage
21# or that can't be (fex. certain commercial apps) 25# or that can't be (fex. certain commercial apps)
22# 26#
95 while [[ -n "$1" ]] ; do 99 while [[ -n "$1" ]] ; do
96 if useq "$1" ; then 100 if useq "$1" ; then
97 einfo "${success_msg} $1" 101 einfo "${success_msg} $1"
98 success="1" 102 success="1"
99 else 103 else
100 ewarn "${fail_msg} $1" 104 einfo "${fail_msg} $1"
101 fi 105 fi
102 shift 106 shift
103 done 107 done
104 108
105 # Did we find what we are looking for? 109 # Did we find what we are looking for?

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20