Building samba3 without LDAP

Jim Hatfield subscriber at
Tue Apr 5 09:48:30 PDT 2005

I'm planning to upgrade from Samba 2.x to 3.x so I'm trying
a test build of samba3 without CUPS or LDAP, neither of which
are in the existing install. But I can't seem to get rid of LDAP:

>banff# portinstall net/samba3
>--->  Installing 'samba-3.0.12_1,1' from a port (net/samba3)
>--->  Building '/usr/ports/net/samba3' with make flags: WITHOUT_CUPS=YES WITHOUT_LDAP=YES WITH_ADS=NO

but later:

>===>   samba-3.0.12_1,1 depends on shared library: ldap-2.2.7 - not found
>===>    Verifying install for ldap-2.2.7 in /usr/ports/net/openldap22-client

What do I need to do to get rid of LDAP?

Also I see this:

>===>  Found saved configuration for samba-3.0.12_1,1
>===>  -------------------------------------------
>===>  Run 'make config' to (re)configure the port
>===>  -------------------------------------------

where is the configuration saved? There is no reference to config in
the manpage for make, nor is there a config target in the Makefile
nor is there any reference to config in any of the files in
/usr/share/mk, so how does this work?


More information about the freebsd-ports mailing list