Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 12267 Details for
Bug 21440
PEAR install missing from php-4.3.1-r2 and mod_php-4.3.1-r3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
My php ebuild
php-4.3.1-r2.ebuild (text/plain), 2.38 KB, created by
Matthew Walker
on 2003-05-21 15:18:31 UTC
(
hide
)
Description:
My php ebuild
Filename:
MIME Type:
Creator:
Matthew Walker
Created:
2003-05-21 15:18:31 UTC
Size:
2.38 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># Update: Roman Weber <gentoo@gonzo.ch> ># $Header: /home/cvsroot/gentoo-x86/dev-php/php/php-4.3.1-r2.ebuild,v 1.4 2003/05/15 21:31:33 robbat2 Exp $ > >inherit php eutils > >IUSE="${IUSE} readline" > >DESCRIPTION="PHP Shell Interpreter" >SLOT="0" >KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa ~mips" > >DEPEND="${DEPEND} > readline? ( >=sys-libs/ncurses-5.1 >=sys-libs/readline-4.1 ) " > >RDEPEND="${RDEPEND}" > >src_compile() { > > use readline && myconf="${myconf} --with-readline" > > myconf="${myconf} \ > --disable-cgi \ > --enable-cli \ > --enable-pcntl" > > php_src_compile > >} > > >src_install() { > installtargets="${installtargets} install-cli" > php_src_install > > # php executable is located in ./sapi/cli/ > cp sapi/cli/php . > exeinto /usr/bin > doexe php > > # Support for Java extension > # > # 1. install php_java.jar file into /etc/php4/lib directory > # 2. edit the php.ini file ready for installation > # > # - stuart@gnqs.org > > if [ "`use java`" ] ; then > > # we put these into /usr/lib so that they cannot conflict > # with other versions of PHP > > insinto /usr/lib/php/extensions/no-debug-non-zts-20020429 > doins ext/java/php_java.jar > > cp ext/java/except.php java-test.php > doins java-test.php > > JAVA_LIBRARY="`grep -- '-DJAVALIB' Makefile | sed -e 's/.\+-DJAVALIB=\"\([^"]*\)\".*$/\1/g;'`" > cat php.ini-dist | sed -e "s|;java.library .*$|java.library = $JAVA_LIBRARY|g;" > php.ini-1 > cat php.ini-1 | sed -e "s|;java.class.path .*$|java.class.path = /etc/php4/lib/php_java.jar|g;" > php.ini-2 > cat php.ini-2 | sed -e "s|extension_dir .*$|extension_dir = /etc/php4/lib|g;" > php.ini-3 > cat php.ini-3 | sed -e "s|;extension=php_java.dll.*$|extension = java.so|g;" > php.ini-4 > cat php.ini-4 | sed -e "s|;java.library.path .*$|java.library.path = /etc/php4/lib/|g;" > php.ini-5 > > mv php.ini-5 php.ini > else > mv php.ini-dist php.ini > fi > > insinto /etc/php4 > doins php.ini > > if [ "`use java`" ]; then > # I can't find a way to make these symlinks using dosym > # SLH - 20030211 > ( cd ${D}/usr/lib/php/extensions/no-debug-non-zts-20020429 ; ln -snf java.so libphp_java.so ) > ( cd ${D}/etc/php4 ; ln -snf ../../usr/lib/php/extensions/no-debug-non-zts-20020429 lib ) > fi > >} > >pkg_postinst() { > # This is more correct information. > einfo > einfo "This is a CLI only build." > einfo "You can not use it on a webserver." > einfo >}
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 21440
:
12266
| 12267