summaryrefslogtreecommitdiff
path: root/databases/ldb28/files/patch-buildtools_wafsamba_wscript
blob: 5480a1e65320f482fe0fcf4ed5bbd11d13443d87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- buildtools/wafsamba/wscript.orig	2022-03-29 07:53:52 UTC
+++ buildtools/wafsamba/wscript
@@ -133,12 +133,17 @@ Currently the only tested value is 'smbtorture,smbd/sm
                    help=("private library directory [PREFIX/lib/%s]" % Context.g_module.APPNAME),
                    action="store", dest='PRIVATELIBDIR', default=None)
 
+    opt.add_option('--with-openldap',
+                   help='additional directory to search for OpenLDAP libs',
+                   action='store', dest='ldap_open', default=None,
+                   match = ['Checking for library lber', 'Checking for library ldap'])
+
     opt.add_option('--with-libiconv',
                    help='additional directory to search for libiconv',
-                   action='store', dest='iconv_open', default='/usr/local',
+                   action='store', dest='iconv_open', default=None,
                    match = ['Checking for library iconv', 'Checking for iconv_open', 'Checking for header iconv.h'])
     opt.add_option('--without-gettext',
-                   help=("Disable use of gettext"),
+                   help=("disable use of gettext"),
                    action="store_true", dest='disable_gettext', default=False)
 
     gr = opt.option_group('developer options')