Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 263813 Details for
Bug 356465
missing files in dev-lang/php for php-5.3.5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
prefixed version of src_prepare-v2.eblit
src_prepare-v2.eblit (text/plain), 2.54 KB, created by
nietonfir
on 2011-02-25 19:24:37 UTC
(
hide
)
Description:
prefixed version of src_prepare-v2.eblit
Filename:
MIME Type:
Creator:
nietonfir
Created:
2011-02-25 19:24:37 UTC
Size:
2.54 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_prepare-v2.eblit,v 1.3 2011/01/05 11:23:16 mabi Exp $ > >eblit-php-src_prepare() { > # USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path > # ([empty session.save_path]/session_mm_[sapi][gid].sem) > # there is no easy way to circumvent that, all php calls during > # install use -n, so no php.ini file will be used. > # As such, this is the easiest way to get around > addpredict /session_mm_cli250.sem > addpredict /session_mm_cli0.sem > > # kolab support (support for imap annotations) > use kolab && epatch "${WORKDIR}/${PV}/opt/imap-kolab-annotations.patch" > > # Change PHP branding > sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1${PHP_EXTRA_BRANDING}-pl${PR/r/}-gentoo\2|g" \ > -i configure.in || die "Unable to change PHP branding" > > # Apply generic PHP patches > EPATCH_SOURCE="${WORKDIR}/${PV}/generic" EPATCH_SUFFIX="patch" \ > EPATCH_FORCE="yes" \ > EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch > > # Patch PHP to show Gentoo as the server platform > sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \ > -i configure.in || die "Failed to fix server platform name" > > # Prevent PHP from activating the Apache config, > # as we will do that ourselves > sed -i \ > -e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \ > -e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \ > configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 > > # Patch PHP to support heimdal instead of mit-krb5 > if has_version "app-crypt/heimdal" ; then > sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \ > || die "Failed to fix heimdal libname" > sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \ > || die "Failed to fix heimdal crypt library reference" > fi > > # Suhosin support > if [[ -n $SUHOSIN_VERSION ]] ; then > if use suhosin ; then > epatch "${WORKDIR}/${SUHOSIN_PATCH}" > fi > else > ewarn "Please note that this version of PHP does not yet come with a suhosin patch" > fi > > > # rebuild the whole autotools stuff as we are heavily patching it > # (suhosin, fastbuild, ...) > > # eaclocal doesn't accept --force, so we try to force re-generation > # this way > rm aclocal.m4 > > # work around divert() issues with newer autoconf, bug #281697 > if has_version '>=sys-devel/autoconf-2.64' ; then > sed -i -r \ > -e 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \ > $(grep -l divert $(find . -name '*.m4') configure.in) || die > fi > eautoreconf --force -W no-cross >} > >
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 Raw
Actions:
View
Attachments on
bug 356465
: 263813 |
263815
|
263819
|
263823
|
263825
|
263827
|
263829