summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTal Peer <coredumb@gentoo.org>2003-07-13 22:51:27 +0000
committerTal Peer <coredumb@gentoo.org>2003-07-13 22:51:27 +0000
commit65e2eb81f3ddcad5e36cf9c0a2dfdca0b835dcc4 (patch)
tree62a78409ba1da0915fc7081295d48f3edbb81a24 /eclass/php.eclass
parentMask PHP5 (diff)
downloadhistorical-65e2eb81f3ddcad5e36cf9c0a2dfdca0b835dcc4.tar.gz
historical-65e2eb81f3ddcad5e36cf9c0a2dfdca0b835dcc4.tar.bz2
historical-65e2eb81f3ddcad5e36cf9c0a2dfdca0b835dcc4.zip
Make php-5.0_beta1 work..
Diffstat (limited to 'eclass/php.eclass')
-rw-r--r--eclass/php.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/php.eclass b/eclass/php.eclass
index ce87bf23a89a..ef64c671aaed 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.63 2003/07/12 20:21:59 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.64 2003/07/13 22:51:27 coredumb 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
@@ -23,7 +23,7 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_postinst pkg_preinst
function runningunstable() { has ~${ARCH} ${ACCEPT_KEYWORDS} > /dev/null ; }
MY_PN=php
-MY_P=${MY_PN}-${PV}
+[ -z "$MY_P" ] && MY_P=${MY_PN}-${PV}
S=${WORKDIR}/${MY_P}
[ -z "$HOMEPAGE" ] && HOMEPAGE="http://www.php.net/"
[ -z "$LICENSE" ] && LICENSE="PHP"