/[gentoo-x86]/eclass/php-ext-base-r1.eclass
Gentoo

Diff of /eclass/php-ext-base-r1.eclass

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

Revision 1.9 Revision 1.10
1# Copyright 1999-2007 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/php-ext-base-r1.eclass,v 1.9 2007/11/29 23:12:13 jokey Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.10 2009/12/30 01:05:42 hoffie Exp $
4# 4#
5# Author: Tal Peer <coredumb@gentoo.org> 5# Author: Tal Peer <coredumb@gentoo.org>
6# Author: Stuart Herbert <stuart@gentoo.org> 6# Author: Stuart Herbert <stuart@gentoo.org>
7# Author: Luca Longinotti <chtekk@gentoo.org> 7# Author: Luca Longinotti <chtekk@gentoo.org>
8# Author: Jakub Moc <jakub@gentoo.org> (documentation) 8# Author: Jakub Moc <jakub@gentoo.org> (documentation)
102 else 102 else
103 ext_type="zend_extension" 103 ext_type="zend_extension"
104 fi 104 fi
105 ext_file="${EXT_DIR}/$1" 105 ext_file="${EXT_DIR}/$1"
106 fi 106 fi
107
108 # php-5.3 unifies zend_extension loading and just requires the
109 # zend_extension keyword with no suffix
110 # TODO: drop previous code and this check once <php-5.3 support is
111 # discontinued
112 if has_version '>=dev-lang/php-5.3' ; then
113 ext_type="zend_extension"
114 fi
107 else 115 else
108 # We don't need the full path for normal extensions! 116 # We don't need the full path for normal extensions!
109 ext_type="extension" 117 ext_type="extension"
110 ext_file="$1" 118 ext_file="$1"
111 fi 119 fi

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20