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

Collapse All | Expand All

(-)/usr/portage/net-nds/openldap/openldap-2.3.41.ebuild (-7 / +22 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2008 Gentoo Foundation
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
# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.3.41.ebuild,v 1.7 2008/03/18 23:38:54 jer Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.3.41.ebuild,v 1.7 2008/03/18 23:38:54 jer Exp $
4
4
5
EAPI="1"
6
5
WANT_AUTOCONF="latest"
7
WANT_AUTOCONF="latest"
6
WANT_AUTOMAKE="latest"
8
WANT_AUTOMAKE="latest"
7
AT_M4DIR="./build"
9
AT_M4DIR="./build"
8
inherit autotools db-use eutils flag-o-matic multilib ssl-cert toolchain-funcs versionator
10
inherit autotools db-use eutils flag-o-matic multilib ssl-cert toolchain-funcs versionator
Lines 30-41 Link Here
30
		slp? ( net-libs/openslp )
32
		slp? ( net-libs/openslp )
31
		perl? ( dev-lang/perl )
33
		perl? ( dev-lang/perl )
32
		samba? ( dev-libs/openssl )
34
		samba? ( dev-libs/openssl )
33
		kerberos? ( virtual/krb5 )
35
		kerberos? ( virtual/krb5 )
34
		berkdb? ( >=sys-libs/db-4.2.52_p2-r1 !=sys-libs/db-4.6* )
36
		berkdb? (
37
			|| (
38
				sys-libs/db:4.5
39
				sys-libs/db:4.4
40
				sys-libs/db:4.3
41
				>=sys-libs/db-4.2.52_p2-r1:4.2
42
			)
43
		)
35
		!berkdb? (
44
		!berkdb? (
36
			gdbm? ( sys-libs/gdbm )
45
			gdbm? ( sys-libs/gdbm )
37
			!gdbm? ( >=sys-libs/db-4.2.52_p2-r1 !=sys-libs/db-4.6* )
46
			!gdbm? (
47
				|| (
48
					sys-libs/db:4.5
49
					sys-libs/db:4.4
50
					sys-libs/db:4.3
51
					>=sys-libs/db-4.2.52_p2-r1:4.2
52
				)
53
			)
38
		)
54
		)
39
		smbkrb5passwd? (
55
		smbkrb5passwd? (
40
			dev-libs/openssl
56
			dev-libs/openssl
41
			app-crypt/heimdal
57
			app-crypt/heimdal
Lines 235-252 Link Here
235
		if use berkdb ; then
251
		if use berkdb ; then
236
			einfo "Using Berkeley DB for local backend"
252
			einfo "Using Berkeley DB for local backend"
237
			myconf="${myconf} ${myconf_berkdb}"
253
			myconf="${myconf} ${myconf_berkdb}"
238
			# We need to include the slotted db.h dir for FreeBSD
254
			# We need to include the slotted db.h dir for FreeBSD
239
			append-cppflags -I$(db_includedir)
255
			append-cppflags -I$(db_includedir 4.5 4.4 4.3 4.2)
240
		elif use gdbm ; then
256
		elif use gdbm ; then
241
			einfo "Using GDBM for local backend"
257
			einfo "Using GDBM for local backend"
242
			myconf="${myconf} ${myconf_gdbm}"
258
			myconf="${myconf} ${myconf_gdbm}"
243
		else
259
		else
244
			ewarn "Neither gdbm or berkdb USE flags present, falling back to"
260
			ewarn "Neither gdbm or berkdb USE flags present, falling back to"
245
			ewarn "Berkeley DB for local backend"
261
			ewarn "Berkeley DB for local backend"
246
			myconf="${myconf} ${myconf_berkdb}"
262
			myconf="${myconf} ${myconf_berkdb}"
247
			# We need to include the slotted db.h dir for FreeBSD
263
			# We need to include the slotted db.h dir for FreeBSD
248
			append-cppflags -I$(db_includedir)
264
			append-cppflags -I$(db_includedir 4.5 4.4 4.3 4.2)
249
		fi
265
		fi
250
		# extra backend stuff
266
		# extra backend stuff
251
		myconf="${myconf} --enable-passwd=mod --enable-phonetic=mod"
267
		myconf="${myconf} --enable-passwd=mod --enable-phonetic=mod"
252
		myconf="${myconf} --enable-dnssrv=mod --enable-ldap"
268
		myconf="${myconf} --enable-dnssrv=mod --enable-ldap"
Lines 291-301 Link Here
291
		--enable-shared \
307
		--enable-shared \
292
		--libexecdir=/usr/$(get_libdir)/openldap \
308
		--libexecdir=/usr/$(get_libdir)/openldap \
293
		${myconf} || die "configure failed"
309
		${myconf} || die "configure failed"
294
310
295
	# Adding back -j1 as upstream didn't answer on parallel make issue yet
311
	emake depend || die "make depend failed"
296
	emake -j1 depend || die "make depend failed"
312
	emake || die "make failed"
297
	emake -j1 || die "make failed"
298
313
299
	# openldap/contrib
314
	# openldap/contrib
300
	tc-export CC
315
	tc-export CC
301
	if ! use minimal ; then
316
	if ! use minimal ; then

Return to bug 219069