summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-07-14 21:07:33 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-07-14 21:07:33 +0000
commitbbfdc6d5a2201b7d54832ed1887dc91f752a21a4 (patch)
treeb206e584a752970b9cdb68f0c0ca4e5b9487418c /eclass/php5_1-sapi.eclass
parentLeave to the eclass handling of admin dir (bug #140406). Fix quoting. (diff)
downloadgentoo-2-bbfdc6d5a2201b7d54832ed1887dc91f752a21a4.tar.gz
gentoo-2-bbfdc6d5a2201b7d54832ed1887dc91f752a21a4.tar.bz2
gentoo-2-bbfdc6d5a2201b7d54832ed1887dc91f752a21a4.zip
Fix sharedext build.
Diffstat (limited to 'eclass/php5_1-sapi.eclass')
-rw-r--r--eclass/php5_1-sapi.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/php5_1-sapi.eclass b/eclass/php5_1-sapi.eclass
index 769f2d873793..b7a414371f0d 100644
--- a/eclass/php5_1-sapi.eclass
+++ b/eclass/php5_1-sapi.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php5_1-sapi.eclass,v 1.28 2006/07/14 16:02:36 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php5_1-sapi.eclass,v 1.29 2006/07/14 21:07:33 chtekk Exp $
#
# ########################################################################
#
@@ -598,9 +598,11 @@ php5_1-sapi_src_install() {
# And install the modules to it
if useq sharedext ; then
for x in `ls "${S}/modules/"*.so | sort` ; do
+ module=`basename ${x}`
+ modulename=${module/.so/}
insinto "${PHPEXTDIR}"
- einfo "Installing PHP ${x/.so/} extension"
- doins "modules/${x}"
+ einfo "Installing PHP ${modulename} extension"
+ doins "modules/${module}"
done
fi