Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 286793 Details for
Bug 358987
Eclass changes for Prefix to php-ext-source-r2.eclass
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
eclass diff
php-ext-source-r2.prefix.patch (text/plain), 1.74 KB, created by
nietonfir
on 2011-09-17 16:39:58 UTC
(
hide
)
Description:
eclass diff
Filename:
MIME Type:
Creator:
nietonfir
Created:
2011-09-17 16:39:58 UTC
Size:
1.74 KB
patch
obsolete
>--- old/php-ext-source-r2.eclass 2011-09-17 18:04:50.000000000 +0200 >+++ new/php-ext-source-r2.eclass 2011-09-17 18:01:19.000000000 +0200 >@@ -179,8 +179,8 @@ > php_init_slot_env ${slot} > > # Let's put the default module away >- insinto "${EXT_DIR}" >- newins "modules/${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so" || die "Unable to install extension" >+ insinto "${EXT_DIR#${EPREFIX}}" >+ newins "modules/${PHP_EXT_NAME}$(get_modname)" "${PHP_EXT_NAME}$(get_modname)" || die "Unable to install extension" > > local doc > for doc in ${DOCS} ; do >@@ -204,12 +204,12 @@ > php_init_slot_env() { > libdir=$(get_libdir) > >- PHPIZE="/usr/${libdir}/${1}/bin/phpize" >- PHPCONFIG="/usr/${libdir}/${1}/bin/php-config" >- PHPCLI="/usr/${libdir}/${1}/bin/php" >- PHPCGI="/usr/${libdir}/${1}/bin/php-cgi" >+ PHPIZE="${EPREFIX}/usr/${libdir}/${1}/bin/phpize" >+ PHPCONFIG="${EPREFIX}/usr/${libdir}/${1}/bin/php-config" >+ PHPCLI="${EPREFIX}/usr/${libdir}/${1}/bin/php" >+ PHPCGI="${EPREFIX}/usr/${libdir}/${1}/bin/php-cgi" > PHP_PKG="$(best_version =dev-lang/php-${1:3}*)" >- PHPPREFIX="/usr/${libdir}/${slot}" >+ PHPPREFIX="${EPREFIX}/usr/${libdir}/${slot}" > EXT_DIR="$(${PHPCONFIG} --extension-dir 2>/dev/null)" > PHP_CURRENTSLOT=${1:3} > >@@ -226,7 +226,7 @@ > PHPINIFILELIST="" > local x > for x in ${PHPSAPILIST} ; do >- if [[ -f "/etc/php/${x}-${1}/php.ini" ]] ; then >+ if [[ -f "${EPREFIX}/etc/php/${x}-${1}/php.ini" ]] ; then > PHPINIFILELIST="${PHPINIFILELIST} etc/php/${x}-${1}/ext/${PHP_EXT_NAME}.ini" > fi > done >@@ -250,7 +250,7 @@ > local file > if [[ "${PHP_EXT_INI}" = "yes" ]] ; then > for file in ${PHPINIFILELIST}; do >- php-ext-source-r2_addextension "${PHP_EXT_NAME}.so" "${file}" >+ php-ext-source-r2_addextension "${PHP_EXT_NAME}$(get_modname)" "${file}" > done > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 358987
:
265917
|
265919
|
265921
|
265923
|
265925
|
286791
|
286793
|
291287
|
291289