Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 290657 Details for
Bug 388245
New keywords for dev-php/pecl-apc-3.1.9-r2: ~{x86,x64}-macos
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
php-ext-source-r2.eclass diff
php-ext-source-r2.eclass.diff (text/plain), 1.97 KB, created by
nietonfir
on 2011-10-23 18:43:41 UTC
(
hide
)
Description:
php-ext-source-r2.eclass diff
Filename:
MIME Type:
Creator:
nietonfir
Created:
2011-10-23 18:43:41 UTC
Size:
1.97 KB
patch
obsolete
>--- old/php-ext-source-r2.eclass 2011-10-23 20:38:02.000000000 +0200 >+++ new/php-ext-source-r2.eclass 2011-10-23 20:39:40.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 > >@@ -272,7 +272,7 @@ > done > > # Add support for installing PHP files into a version dependant directory >- PHP_EXT_SHARED_DIR="/usr/share/php/${PHP_EXT_NAME}" >+ PHP_EXT_SHARED_DIR="${EPREFIX}/usr/share/php/${PHP_EXT_NAME}" > done > } >
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 388245
:
290649
|
290651
|
290653
|
290655
| 290657