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

Collapse All | Expand All

(-)usr/portage/net-nds/openldap/openldap-2.3.35-r1.ebuild (-3 / +7 lines)
Lines 211-217 Link Here
211
	# patch contrib modules
211
	# patch contrib modules
212
	if ! use minimal ; then
212
	if ! use minimal ; then
213
		cd "${S}"/contrib
213
		cd "${S}"/contrib
214
		epatch "${FILESDIR}"/${PN}-2.3.24-contrib-smbk5pwd.patch
214
		epatch "${FILESDIR}"/${PN}-2.3.35-contrib-smbk5pwd.patch
215
	fi
215
	fi
216
}
216
}
217
217
Lines 302-307 Link Here
302
			einfo "Building contributed pw-kerberos"
302
			einfo "Building contributed pw-kerberos"
303
			cd "${S}"/contrib/slapd-modules/passwd/ && \
303
			cd "${S}"/contrib/slapd-modules/passwd/ && \
304
			${CC} -shared -I../../../include ${CFLAGS} -fPIC \
304
			${CC} -shared -I../../../include ${CFLAGS} -fPIC \
305
			`krb5-config --cflags` `krb5-config --libs` \
305
			-DHAVE_KRB5 -o pw-kerberos.so kerberos.c || \
306
			-DHAVE_KRB5 -o pw-kerberos.so kerberos.c || \
306
			die "failed to compile kerberos password module"
307
			die "failed to compile kerberos password module"
307
		fi
308
		fi
Lines 319-329 Link Here
319
			einfo "Building contributed smbk5pwd"
320
			einfo "Building contributed smbk5pwd"
320
			local mydef
321
			local mydef
321
			local mykrb5inc
322
			local mykrb5inc
323
			local mykrb5lib
322
			mydef="-DDO_SAMBA -DDO_KRB5"
324
			mydef="-DDO_SAMBA -DDO_KRB5"
323
			mykrb5inc="-I/usr/include/heimdal/"
325
			mykrb5inc="`krb5-config --cflags`"
326
			mykrb5lib="`krb5-config --libs`"
324
			cd "${S}"/contrib/slapd-modules/smbk5pwd && \
327
			cd "${S}"/contrib/slapd-modules/smbk5pwd && \
325
			libexecdir="/usr/$(get_libdir)/openldap" \
328
			libexecdir="/usr/$(get_libdir)/openldap" \
326
			DEFS="${mydef}" KRB5_INC="${mykrb5inc}" emake || \
329
			DEFS="${mydef}" KRB5_INC="${mykrb5inc}" \
330
			KRB5_LIB="${mykrb5lib}" emake || \
327
			die "failed to compile smbk5pwd module"
331
			die "failed to compile smbk5pwd module"
328
		fi
332
		fi
329
		# addrdnvalues
333
		# addrdnvalues

Return to bug 134064