[Bug 265134] mail/milter-greylist: Build fails with LDAP=on

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 16 Jul 2022 18:02:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265134

--- Comment #1 from m.tsatsenko@gmail.com ---
I had a look. There are a few observations. First: it looks for a wrong set of
libs -lldap_r-2.4 -llber-2.4 and -lldap_r -llber. 
This is easily corrected, however next I run into another problem. 
Although LDFLAGS_openldap is correctly populated with -L/usr/local/lib
-Wl,--rpath=/usr/local/lib actual invocation of cc is done with default
-L/usr/lib -Wl,--rpath=/usr/lib which is obviously wrong and the test still
fails.

I will have a closer look later

-- 
You are receiving this mail because:
You are the assignee for the bug.