Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 258025 Details for
Bug 316959
sys-libs/tdb: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tdb-1.2.1-r1.ebuild.patch
tdb-1.2.1-r1.ebuild.patch (text/plain), 1005 bytes, created by
Arfrever Frehtes Taifersar Arahesis (RETIRED)
on 2010-12-25 16:07:21 UTC
(
hide
)
Description:
tdb-1.2.1-r1.ebuild.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis (RETIRED)
Created:
2010-12-25 16:07:21 UTC
Size:
1005 bytes
patch
obsolete
>--- tdb-1.2.1-r1.ebuild >+++ tdb-1.2.1-r1.ebuild >@@ -3,6 +3,7 @@ > # $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.1-r1.ebuild,v 1.3 2010/09/27 16:26:05 leio Exp $ > > EAPI="2" >+PYTHON_DEPEND="python? 2" > > inherit autotools python > >@@ -15,12 +16,18 @@ > IUSE="python static-libs tools tdbtest" > > RDEPEND="" >-DEPEND="python? ( dev-lang/python ) >- !<net-fs/samba-libs-3.4 >+DEPEND="!<net-fs/samba-libs-3.4 > !<net-fs/samba-3.3 > app-text/docbook-xsl-stylesheets > dev-libs/libxslt" > >+pkg_setup() { >+ if use python; then >+ python_set_active_version 2 >+ python_pkg_setup >+ fi >+} >+ > src_prepare() { > eautoconf -Ilibreplace > sed -i \ >@@ -34,10 +41,20 @@ > } > > src_configure() { >+ local myconf=() >+ >+ if use python; then >+ myconf=( >+ PYTHON_CONFIG="${EPREFIX}/usr/bin/python-config-$(python_get_version)" >+ PYTHON="$(PYTHON -a)" >+ ) >+ fi >+ > econf \ > --sysconfdir=/etc/samba \ > --localstatedir=/var \ >- $(use_enable python) >+ $(use_enable python) \ >+ "${myconf[@]}" > } > > src_compile() {
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 316959
:
258025
|
258027