summaryrefslogtreecommitdiff
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
commitd8763030c51f273d8fa5cfc7d1668fc297a29e4d (patch)
treefe4bd7e5c3ab6e237994544822703047c33052e8 /eclass/php.eclass
parentno more pic USE flag (diff)
downloadhistorical-d8763030c51f273d8fa5cfc7d1668fc297a29e4d.tar.gz
historical-d8763030c51f273d8fa5cfc7d1668fc297a29e4d.tar.bz2
historical-d8763030c51f273d8fa5cfc7d1668fc297a29e4d.zip
fix for #22886
Diffstat (limited to 'eclass/php.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}