Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 322535
Collapse All | Expand All

(-)/usr/portage/net-nds/openldap/openldap-2.4.21.ebuild (-1 / +17 lines)
Lines 17-23 Link Here
17
IUSE_BACKEND="+berkdb"
17
IUSE_BACKEND="+berkdb"
18
IUSE_OVERLAY="overlays perl"
18
IUSE_OVERLAY="overlays perl"
19
IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 syslog selinux"
19
IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 syslog selinux"
20
IUSE_CONTRIB="smbkrb5passwd kerberos"
20
IUSE_CONTRIB="smbkrb5passwd kerberos samba4"
21
IUSE_CONTRIB="${IUSE_CONTRIB} -cxx"
21
IUSE_CONTRIB="${IUSE_CONTRIB} -cxx"
22
IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}"
22
IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}"
23
23
Lines 412-417 Link Here
412
				|| die "emake smbk5pwd failed"
412
				|| die "emake smbk5pwd failed"
413
		fi
413
		fi
414
414
415
		if use samba4 ; then
416
			einfo "Building contrib-module: samba4"
417
			cd "${S}/contrib/slapd-modules/samba4"
418
419
			emake \
420
				CC="${CC}" libexecdir="/usr/$(get_libdir)/openldap" \
421
				|| die "emake samba4 failed"
422
		fi
423
415
		if use kerberos ; then
424
		if use kerberos ; then
416
			cd "${S}/contrib/slapd-modules/passwd"
425
			cd "${S}/contrib/slapd-modules/passwd"
417
			einfo "Compiling contrib-module: pw-kerberos"
426
			einfo "Compiling contrib-module: pw-kerberos"
Lines 543-548 Link Here
543
			newdoc README smbk5pwd-README
552
			newdoc README smbk5pwd-README
544
		fi
553
		fi
545
554
555
		if use samba4 ; then
556
			einfo "Install the samba4 module"
557
			cd "${S}/contrib/slapd-modules/samba4"
558
			emake DESTDIR="${D}" libexecdir="/usr/$(get_libdir)/openldap" install || die "emake install samba4 failed"
559
			newdoc README samba4-README
560
		fi
561
546
		einfo "Installing contrib modules"
562
		einfo "Installing contrib modules"
547
		cd "${S}/contrib/slapd-modules"
563
		cd "${S}/contrib/slapd-modules"
548
		for l in */*.la; do
564
		for l in */*.la; do

Return to bug 322535