delete duplicate PHP_EXT_NAME block (same thing appears a few lines below)
authorMike Frysinger <vapier@gentoo.org>
Thu, 24 Nov 2011 00:04:39 +0000 (00:04 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 24 Nov 2011 00:04:39 +0000 (00:04 +0000)
eclass/php-ext-source-r2.eclass

index 63082ae7a92e6b4cbda4be3f7bfe2370edfb5495..35c8d38de837d78d2d6257c090c10361411ad3da 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.17 2011/09/09 14:39:39 olemarkus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.18 2011/11/24 00:04:39 vapier Exp $
 
 # @ECLASS: php-ext-source-r2.eclass
 # @MAINTAINER:
@@ -20,13 +20,6 @@ inherit flag-o-matic autotools
 
 EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install
 
-# @ECLASS-VARIABLE: PHP_EXT_NAME
-# @DESCRIPTION:
-# The extension name. This must be set, otherwise the eclass dies.
-# Only automagically set by php-ext-pecl-r1.eclass, so unless your ebuild
-# inherits that eclass, you must set this manually before inherit.
-[[ -z "${PHP_EXT_NAME}" ]] && die "No module name specified for the php-ext-source-r2 eclass"
-
 DEPEND=">=sys-devel/m4-1.4.3
                >=sys-devel/libtool-1.5.18"
 RDEPEND=""