Bug 269485 - mail/spamass-milter: fails to build with option LDAP
Summary: mail/spamass-milter: fails to build with option LDAP
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bruce A. Mah
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2023-02-11 07:47 UTC by Dirk Meyer
Modified: 2023-02-11 12:33 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (bmah)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Meyer freebsd_committer freebsd_triage 2023-02-11 07:47:03 UTC
after commit 6e1233be229212a0496f42d611bd40f3e3a628da
The option LDAP is broken

Please fix in mail/spamass-milter/Makefile:

-USE+=  ldap
+USES+= ldap
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-02-11 12:33:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9bce8280df4b4b9e107b3d643d87a2f89b3adae4

commit 9bce8280df4b4b9e107b3d643d87a2f89b3adae4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-02-11 12:28:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-02-11 12:32:43 +0000

    mail/spamass-milter: Fix build

    - While converting USE_LDAP=yes to USES=ldap this port was missed. Fix
      this.
    - Utilize OPTIONS framework
    - Utilize USES=localbase
    - Refactor conditional PORTDOCS as by function this is conditional

    PR:             269485
    Reported by:    dinoex
    Approved by:    portmgr (just-fix-it)
    Fixes:  6e1233b Mk/**ldap.mk: Convert USE_LDAP to USES=ldap

 mail/spamass-milter/Makefile | 35 ++++++++++++++---------------------
 1 file changed, 14 insertions(+), 21 deletions(-)