|
|
@ -20,6 +20,8 @@ |
|
|
|
# |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
createdocs=0 |
|
|
|
|
|
|
|
[ "$prefix_auto" = 1 ] && prefix="opt/openldap" |
|
|
|
set_confopt |
|
|
|
sysconfdir=${sysconfdir%/openldap} |
|
|
@ -28,8 +30,10 @@ if [ -f $root/var/adm/flists/tcp_wrappers ]; then |
|
|
|
var_append extraconfopt ' ' '--enable-wrappers' |
|
|
|
fi |
|
|
|
var_append extraconfopt ' ' "--enable-shared" |
|
|
|
|
|
|
|
if [ "$ROCKCFG_PKG_OPENLDAP_JUSTLIBS" = "1" ]; then |
|
|
|
var_append extraconfopt ' ' "--without-cyrus-sasl --disable-slapd --disable-slurpd" |
|
|
|
var_append extraconfopt ' ' "--without-cyrus-sasl --disable-slapd \ |
|
|
|
--disable-slurpd" |
|
|
|
fi |
|
|
|
|
|
|
|
hook_add premake 3 'eval $MAKE depend' |
|
|
@ -38,7 +42,7 @@ hook_add premake 3 'eval $MAKE depend' |
|
|
|
# but not forcing them to use it. |
|
|
|
hook_add postmake 3 "echo \"pkg_openldap_prefix=/$prefix\" \ |
|
|
|
> $root/var/adm/parse-config/openldap" |
|
|
|
hook_add postmake 4 "install_init openldap $confdir/openldap.init" |
|
|
|
|
|
|
|
createdocs=0 |
|
|
|
#export CPPFLAGS="$CPPFLAGS -I/usr/include/db4" |
|
|
|
|