Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 255961 Details for
Bug 297576
emerge sys-libs/tdb-1.1.5-r1 failed. python3.1/pyconfig.h warning: "_POSIX_C_SOURCE" redefined, 'Py_TPFLAGS_HAVE_ITER' undeclared etc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild which forces python version
tdb-1.2.1-r1.ebuild (text/plain), 2.12 KB, created by
John Keeping
on 2010-11-30 16:13:58 UTC
(
hide
)
Description:
Ebuild which forces python version
Filename:
MIME Type:
Creator:
John Keeping
Created:
2010-11-30 16:13:58 UTC
Size:
2.12 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $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 > >DESCRIPTION="Samba tdb" >HOMEPAGE="http://tdb.samba.org/" >SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz" >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" >IUSE="python static-libs tools tdbtest" > >RDEPEND="" >DEPEND="!<net-fs/samba-libs-3.4 > !<net-fs/samba-3.3 > app-text/docbook-xsl-stylesheets > dev-libs/libxslt" > >pkgsetup() { > use python && python_set_active_version 2 >} > >src_prepare() { > eautoconf -Ilibreplace > sed -i \ > -e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' \ > {Makefile.in,tdb.mk} || die "sed failed" > > # xsltproc will display a warning but we can assume the xml files are valid > sed -i \ > -e 's|$(XSLTPROC) -o|$(XSLTPROC) --nonet -o|' \ > tdb.mk || die "sed failed" >} > >src_configure() { > my_python_config="" > if use python ; then > my_python_config=" > PYTHON_CONFIG=${ROOT}/usr/bin/python-config-$(PYTHON -2 --ABI) > PYTHON=$(PYTHON -2 --absolute-path)" > fi > econf \ > --sysconfdir=/etc/samba \ > --localstatedir=/var \ > $(use_enable python) \ > $my_python_config >} > >src_compile() { > # TODO: > # - don't build static-libs in case of USE=-static-libs > > # we create the directories first to avoid workaround parallel build problem > emake dirs || die "emake dirs failed" > > emake shared-build || die "emake shared-build failed" > > if use tdbtest ; then > emake bin/tdbtest || die "emake tdbtest failed" > fi >} > >src_install() { > emake install DESTDIR="${D}" || die "emake install failed" > > # installs a necessary symlink > dolib.so sharedbuild/lib/libtdb.so > > dodoc docs/README > > use static-libs || rm -f "${D}"/usr/lib*/*.a > use tools || rm -rf "${D}/usr/bin" "${D}/usr/share/man" > use tdbtest && dobin bin/tdbtest > use python && python_need_rebuild >} > >src_test() { > # the default src_test runs 'make test' and 'make check', letting > # the tests fail occasionally (reason: unknown) > emake check || die "emake check failed" >}
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 297576
:
213499
|
213500
|
213501
| 255961