diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2006-07-14 21:07:33 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2006-07-14 21:07:33 +0000 |
commit | 437f7d6d7aa54829035d7ba77dee8d6451fdbecf (patch) | |
tree | c3286fdd0efb7599d631c4fbfd686ae57648381c /eclass | |
parent | Leave to the eclass handling of admin dir (bug #140406). Fix quoting. (diff) | |
download | historical-437f7d6d7aa54829035d7ba77dee8d6451fdbecf.tar.gz historical-437f7d6d7aa54829035d7ba77dee8d6451fdbecf.tar.bz2 historical-437f7d6d7aa54829035d7ba77dee8d6451fdbecf.zip |
Fix sharedext build.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/php4_4-sapi.eclass | 8 | ||||
-rw-r--r-- | eclass/php5_0-sapi.eclass | 8 | ||||
-rw-r--r-- | eclass/php5_1-sapi.eclass | 8 |
3 files changed, 15 insertions, 9 deletions
diff --git a/eclass/php4_4-sapi.eclass b/eclass/php4_4-sapi.eclass index b530d411ae04..a72e50f1608c 100644 --- a/eclass/php4_4-sapi.eclass +++ b/eclass/php4_4-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/php4_4-sapi.eclass,v 1.22 2006/07/14 16:02:36 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php4_4-sapi.eclass,v 1.23 2006/07/14 21:07:33 chtekk Exp $ # # ######################################################################## # @@ -550,9 +550,11 @@ php4_4-sapi_src_install() { # And install the modules to it if useq sharedext ; then for x in `ls "${S}/modules/"*.so | sort | sed -e "s|.*java.*||g"` ; 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 diff --git a/eclass/php5_0-sapi.eclass b/eclass/php5_0-sapi.eclass index 4968fe8c66a9..0837b49bd21e 100644 --- a/eclass/php5_0-sapi.eclass +++ b/eclass/php5_0-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_0-sapi.eclass,v 1.24 2006/07/14 16:02:36 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5_0-sapi.eclass,v 1.25 2006/07/14 21:07:33 chtekk Exp $ # # ######################################################################## # @@ -555,9 +555,11 @@ php5_0-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 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 |