|
|
@ -1,3 +1,4 @@ |
|
|
|
#!/bin/bash |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
@ -50,9 +51,9 @@ var_append extraconfopt ' ' "--with-nisplus-home" |
|
|
|
# let samba configure find ldap and enable ldapsam |
|
|
|
if pkginstalled openldap; then |
|
|
|
var_append extraconfopt ' ' "--with-ldapsam" |
|
|
|
var_append extraconfopt ' ' "CFLAGS=\"$CFLAGS${CFLAGS:+ }-I$root/$pkg_openldap_prefix/include\"" |
|
|
|
var_append extraconfopt ' ' "CPPFLAGS=\"$CPPFLAGS${CPPFLAGS:+ }-I$root/$pkg_openldap_prefix/include\"" |
|
|
|
var_append extraconfopt ' ' "LDFLAGS=\"$LDFLAGS${LDFLAGS:+ }-L$root/$pkg_openldap_prefix/lib\"" |
|
|
|
var_append CFLAGS " " "-I$root/$pkg_openldap_prefix/include" |
|
|
|
var_append CPPFLAGS " " "-I$root/$pkg_openldap_prefix/include" |
|
|
|
var_append extraconfopt " " "-L$root/$pkg_openldap_prefix/lib" |
|
|
|
fi |
|
|
|
|
|
|
|
samba_pm () |
|
|
|