summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-06-16 21:03:10 +0000
committerMike Frysinger <vapier@gentoo.org>2003-06-16 21:03:10 +0000
commitd61da4708ae43339f384149d7f3e9498a4c0cded (patch)
tree8ff47727e656b80c4cd7b4cfc704476b84b9033b /eclass
parentno more pic USE flag (diff)
downloadgentoo-2-d61da4708ae43339f384149d7f3e9498a4c0cded.tar.gz
gentoo-2-d61da4708ae43339f384149d7f3e9498a4c0cded.tar.bz2
gentoo-2-d61da4708ae43339f384149d7f3e9498a4c0cded.zip
fix for #22886
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php.eclass9
1 files changed, 2 insertions, 7 deletions
diff --git a/eclass/php.eclass b/eclass/php.eclass
index 5d2f2ccc7a22..0d826fedd6ac 100644
--- a/eclass/php.eclass
+++ b/eclass/php.eclass
@@ -1,7 +1,7 @@
# Copyright 2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Robin H. Johnson <robbat2@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.46 2003/06/16 20:52:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.47 2003/06/16 21:03:10 vapier Exp $
# This EBUILD is totally masked presently. Use it at your own risk. I know it
# is severely broken, but I needed to get a copy into CVS to pass around and
@@ -20,12 +20,7 @@ INHERITED="$INHERITED $ECLASS"
EXPORT_FUNCTIONS src_unpack src_compile src_install
-function runningunstable() {
-local data="`echo "${ACCEPT_KEYWORDS}" |grep '~'`"
-local retval=false
-[ -n "${data}" ] && retval=true
-return ${retval}
-}
+function runningunstable() { has ~${ARCH} ${ACCEPT_KEYWORDS} > /dev/null ; }
MY_PN=php
MY_P=${MY_PN}-${PV}