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

Collapse All | Expand All

(-)/usr/portage/net-nds/openldap/openldap-2.3.37.ebuild (-1 / +8 lines)
Lines 46-51 Link Here
46
	selinux? ( sec-policy/selinux-openldap )"
46
	selinux? ( sec-policy/selinux-openldap )"
47
DEPEND="${RDEPEND}"
47
DEPEND="${RDEPEND}"
48
48
49
KRB5_CONFIG="/usr/bin/krb5-config"
50
49
# for tracking versions
51
# for tracking versions
50
OPENLDAP_VERSIONTAG=".version-tag"
52
OPENLDAP_VERSIONTAG=".version-tag"
51
OPENLDAP_DEFAULTDIR_VERSIONTAG="/var/lib/openldap-data"
53
OPENLDAP_DEFAULTDIR_VERSIONTAG="/var/lib/openldap-data"
Lines 281-286 Link Here
281
		append-ldflags -L/usr/$(get_libdir)
283
		append-ldflags -L/usr/$(get_libdir)
282
	fi
284
	fi
283
285
286
	if use kerberos; then
287
		append-ldflags -L`${KRB5_CONFIG} --libs |sed -e's/^-L\([^ ]*\)\($\| .*$\)/\1/'`
288
		append-flags -I`${KRB5_CONFIG} --cflags |sed -e's/^-I\([^ ]*\)\($\| .*$\)/\1/'`
289
	fi
290
284
	STRIP=/bin/true \
291
	STRIP=/bin/true \
285
	econf \
292
	econf \
286
		--enable-static \
293
		--enable-static \
Lines 324-330 Link Here
324
			local mydef
331
			local mydef
325
			local mykrb5inc
332
			local mykrb5inc
326
			mydef="-DDO_SAMBA -DDO_KRB5"
333
			mydef="-DDO_SAMBA -DDO_KRB5"
327
			mykrb5inc="-I/usr/include/heimdal/"
334
			mykrb5inc="-I`${KRB5_CONFIG} --libs |sed -e's/^-L\([^ ]*\)\($\| .*$\)/\1/'`"
328
			cd "${S}"/contrib/slapd-modules/smbk5pwd && \
335
			cd "${S}"/contrib/slapd-modules/smbk5pwd && \
329
			libexecdir="/usr/$(get_libdir)/openldap" \
336
			libexecdir="/usr/$(get_libdir)/openldap" \
330
			DEFS="${mydef}" KRB5_INC="${mykrb5inc}" emake || \
337
			DEFS="${mydef}" KRB5_INC="${mykrb5inc}" emake || \

Return to bug 185899