Lines 299-324
src_compile() {
Link Here
|
299 |
${CC} -shared -I../../../include ${CFLAGS} -fPIC \ |
299 |
${CC} -shared -I../../../include ${CFLAGS} -fPIC \ |
300 |
-o pw-netscape.so netscape.c || \ |
300 |
-o pw-netscape.so netscape.c || \ |
301 |
die "failed to compile netscape password module" |
301 |
die "failed to compile netscape password module" |
302 |
# smbk5pwd overlay |
|
|
303 |
# Note: this modules builds, but may not work with |
304 |
# Gentoo's MIT-Kerberos. It was designed for Heimdal |
305 |
# Kerberos. |
306 |
if use samba ; then |
307 |
einfo "Building contributed smbk5pwd" |
308 |
local mydef |
309 |
local mykrb5inc |
310 |
use samba && mydef="-DDO_SAMBA" |
311 |
if use kerberos; then |
312 |
mydef="${mydef} -DDO_KRB5" |
313 |
if [ -d /usr/include/heimdal ]; then |
314 |
mykrb5inc="-I/usr/include/heimdal/" |
315 |
fi |
316 |
fi |
317 |
cd ${S}/contrib/slapd-modules/smbk5pwd && \ |
318 |
libexecdir="/usr/$(get_libdir)/openldap" \ |
319 |
DEFS="${mydef}" KRB5_INC="${mykrb5inc}" emake || \ |
320 |
die "failed to compile smbk5pwd module" |
321 |
fi |
322 |
# addrdnvalues |
302 |
# addrdnvalues |
323 |
einfo "Building contributed addrdnvalues" |
303 |
einfo "Building contributed addrdnvalues" |
324 |
cd ${S}/contrib/slapi-plugins/addrdnvalues/ && \ |
304 |
cd ${S}/contrib/slapi-plugins/addrdnvalues/ && \ |