Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 266515 Details for
Bug 343699
dev-libs/ossp-uuid-1.6.2 blocked by slotted php-5.3.3-r3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch migrating ossp-uuid-1.6.2 to minor version slotted PHP
ossp-uuid-1.6.2.ebuild.patch (text/plain), 2.38 KB, created by
Ole Markus With (RETIRED)
on 2011-03-19 14:43:40 UTC
(
hide
)
Description:
Patch migrating ossp-uuid-1.6.2 to minor version slotted PHP
Filename:
MIME Type:
Creator:
Ole Markus With (RETIRED)
Created:
2011-03-19 14:43:40 UTC
Size:
2.38 KB
patch
obsolete
>--- ossp-uuid-1.6.2.ebuild 2010-04-25 22:14:06.000000000 +0200 >+++ ossp-uuid-1.6.2-r1.ebuild 2011-03-19 15:34:41.000000000 +0100 >@@ -1,44 +1,48 @@ >-# Copyright 1999-2010 Gentoo Foundation >+# Copyright 1999-2011 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/dev-libs/ossp-uuid/ossp-uuid-1.6.2.ebuild,v 1.8 2010/04/25 20:14:06 armin76 Exp $ > >-EAPI="1" >+EAPI="2" > > PHP_EXT_NAME="uuid" > PHP_EXT_INI="yes" > PHP_EXT_ZENDEXT="no" > PHP_VERSION="5" > >-inherit eutils multilib php-ext-source-r1 depend.php >- > MY_P="uuid-${PV}" >+PHP_EXT_S="${WORKDIR}/${MY_P}/php" >+PHP_EXT_OPTIONAL_USE="php" >+inherit eutils multilib php-ext-source-r2 > > DESCRIPTION="An ISO-C:1999 API and corresponding CLI for the generation of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant UUID." > HOMEPAGE="http://www.ossp.org/pkg/lib/uuid/" > SRC_URI="ftp://ftp.ossp.org/pkg/lib/uuid/${MY_P}.tar.gz" > LICENSE="as-is" > SLOT="0" >-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" >+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" > IUSE="+cxx php" > >-DEPEND="php? ( dev-lang/php:5 )" >+DEPEND="" > RDEPEND="${DEPEND}" > > S="${WORKDIR}/${MY_P}" > >-src_unpack() { >- unpack ${A} >- cd "${S}" >+src_prepare() { > >- epatch "${FILESDIR}/${P}-gentoo.patch" >+ epatch "${FILESDIR}/${P}-gentoo-r1.patch" > > if use php; then >- cd php >- php-ext-source-r1_phpize >+ local slot >+ for slot in $(php_get_slots); do >+ php_init_slot_env ${slot} >+ epatch "${FILESDIR}/${P}-php.patch" >+ done >+ >+ php-ext-source-r2_src_prepare > fi > } > >-src_compile() { >+src_configure() { > # Notes: > # * collides with e2fstools libs and includes if not moved around > # * perl-bindings are broken >@@ -51,11 +55,16 @@ > --without-php \ > $(use_with cxx) \ > || die "econf failed" >+ if use php; then >+ php-ext-source-r2_src_configure >+ fi >+} >+ >+src_compile() { > emake || die "emake failed" > > if use php; then >- cd php >- php-ext-source-r1_src_compile >+ php-ext-source-r2_src_compile > fi > } > >@@ -65,9 +74,9 @@ > dodoc AUTHORS BINDINGS ChangeLog HISTORY NEWS OVERVIEW PORTING README SEEALSO THANKS TODO USERS > > if use php ; then >- cd php >- php-ext-source-r1_src_install >- insinto /usr/share/php5 >+ php-ext-source-r2_src_install >+ cd "${S}/php" >+ insinto /usr/share/php > newins uuid.php5 uuid.php > 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 343699
: 266515 |
266517
|
266519