[Bug 271395] mail/mutt: SASL always disabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 13 May 2023 20:16:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271395

            Bug ID: 271395
           Summary: mail/mutt: SASL always disabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dereks@lifeofadishwasher.com

Created attachment 242148
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242148&action=edit
Fix SASL options

With 60ba31d73e SASL_NONE_CONFIGURE_WITH however with it unchecked
--without-sasl was added.  Always disabling sasl no matter the sasl option
selected.

Use OPT_CONFIGURE_OFF and OPT_CONFIGURE_ON to make sure --without-sasl isn't
added when SASL_NONE is unchecked.


portlint: ok. 1 expected warning. multi patch 
testport: ok. 13amd64.


Building default options we get: ... --with-sasl=/usr/local --without-gsasl ...
and mutt -v: ... +USE_SASL  -USE_GSASL  ... 

Building with GSASL we get: ... --without-sasl --with-gsasl=/usr/local ...
and mutt -v: ... -USE_SASL  +USE_GSASL ...

Building with NONE we get: ... --without-sasl --without-gsasl --with-sasl=no
...
and mutt -v: ... -USE_SASL  -USE_GSASL ...

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