Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 601538 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/app-crypt/tpm-tools/tpm-tools-1.3.8-r1.ebuild (-8 / +5 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Id$
3
# $Id$
4
4
5
EAPI=5
5
EAPI=6
6
inherit autotools eutils flag-o-matic
6
inherit autotools eutils flag-o-matic
7
7
8
DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules"
8
DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules"
Lines 20-44 Link Here
20
	libressl? ( dev-libs/libressl:0= )
20
	libressl? ( dev-libs/libressl:0= )
21
	pkcs11? ( dev-libs/opencryptoki )
21
	pkcs11? ( dev-libs/opencryptoki )
22
	"
22
	"
23
S="${WORKDIR}"
24
23
RDEPEND="${COMMON_DEPEND}
25
RDEPEND="${COMMON_DEPEND}
24
	nls? ( virtual/libintl )"
26
	nls? ( virtual/libintl )"
25
DEPEND="${COMMON_DEPEND}
27
DEPEND="${COMMON_DEPEND}
26
	nls? ( sys-devel/gettext )"
28
	nls? ( sys-devel/gettext )"
27
29
28
src_prepare() {
30
src_prepare() {
29
	sed -i -r \
31
	eapply_user
30
		-e '/CFLAGS/s/ -(Werror|m64)//' \
31
		configure.in || die
32
	epatch "${FILESDIR}/${P}-gold.patch"
33
	epatch "${FILESDIR}/${P}-build.patch"
34
35
	eautoreconf
32
	eautoreconf
36
}
33
}
37
34
38
src_configure() {
35
src_configure() {
39
	local myconf
36
	local myconf
40
	# don't use --enable-pkcs11-support, configure is a mess.
37
	# don't use --enable-pkcs11-support, configure is a mess.
41
	use pkcs11 || myconf+=" --disable-pkcs11-support"
38
	use pkcs11 || myconf+=" --disable-pkcs11-support "
42
39
43
	append-cppflags $(usex debug -DDEBUG -DNDEBUG)
40
	append-cppflags $(usex debug -DDEBUG -DNDEBUG)
44
41

Return to bug 601538