Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 290569 Details for
Bug 356467
New ebuild: app-admin/eselect-php-0.6.2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
eprefixified eselect-php source patch
eselect-php-0.6.2-prefix.patch (text/plain), 1.99 KB, created by
nietonfir
on 2011-10-22 22:14:11 UTC
(
hide
)
Description:
eprefixified eselect-php source patch
Filename:
MIME Type:
Creator:
nietonfir
Created:
2011-10-22 22:14:11 UTC
Size:
1.99 KB
patch
obsolete
>--- eselect-php-0.6.2 >+++ eselect-php-0.6.2 >@@ -10,10 +10,10 @@ > get_libdir() { > local dir > if has lib64 $(list_libdirs); then >- echo /usr/lib64 >+ echo @GENTOO_PORTAGE_EPREFIX@/usr/lib64 > return > fi >- echo /usr/lib >+ echo @GENTOO_PORTAGE_EPREFIX@/usr/lib > } > > find_targets() { >@@ -49,15 +49,15 @@ > } > > get_active_cli() { >- readlink -e /usr/bin/php | sed -ne "s:$(get_libdir)/\(php[0-9]\.[0-9][0-9]*\)/bin/php:\1:p" >+ readlink -e @GENTOO_PORTAGE_EPREFIX@/usr/bin/php | sed -ne "s:$(get_libdir)/\(php[0-9]\.[0-9][0-9]*\)/bin/php:\1:p" > } > > get_active_cgi() { >- readlink -e /usr/bin/php-cgi | sed -ne "s:$(get_libdir)/\(php[0-9]\.[0-9]\)/bin/php-cgi:\1:p" >+ readlink -e @GENTOO_PORTAGE_EPREFIX@/usr/bin/php-cgi | sed -ne "s:$(get_libdir)/\(php[0-9]\.[0-9]\)/bin/php-cgi:\1:p" > } > > get_active_fpm() { >- readlink -e /usr/bin/php-fpm | sed -ne "s:$(get_libdir)/\(php[0-9]\.[0-9]\)/bin/php-fpm:\1:p" >+ readlink -e @GENTOO_PORTAGE_EPREFIX@/usr/bin/php-fpm | sed -ne "s:$(get_libdir)/\(php[0-9]\.[0-9]\)/bin/php-fpm:\1:p" > } > > get_active_apache2() { >@@ -137,7 +137,7 @@ > [[ -z $t ]] && die -q "Bad target" > local file > for file in php phpize php-config; do >- ln -sf $(get_libdir)/$t/bin/$file /usr/bin/$file || \ >+ ln -sf $(get_libdir)/$t/bin/$file @GENTOO_PORTAGE_EPREFIX@/usr/bin/$file || \ > die -q "Failed to create symlink for ${file}" > done > } >@@ -146,14 +146,14 @@ > t=$(resolv_target cgi $1) > [[ -z $t ]] && die -q "Bad target" > local file >- ln -sf $(get_libdir)/$t/bin/php-cgi /usr/bin/php-cgi || \ >+ ln -sf $(get_libdir)/$t/bin/php-cgi @GENTOO_PORTAGE_EPREFIX@/usr/bin/php-cgi || \ > die -q "Failed to create symlink for php-cgi" > } > > set_fpm() { > local t=$(resolv_target fpm $1) > [[ -z $t ]] && die -q "Bad target" >- ln -sf $(get_libdir)/$t/bin/php-fpm /usr/bin/php-fpm || \ >+ ln -sf $(get_libdir)/$t/bin/php-fpm @GENTOO_PORTAGE_EPREFIX@/usr/bin/php-fpm || \ > die -q "Failed to create symlink for the php-fpm binary" > echo "You have to run \`/etc/init.d/php-fpm restart' for the changes to take effect" > }
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 356467
:
263831
|
263833
|
263835
|
263951
|
263953
|
264023
|
290567
| 290569