[Bug 257529] net/openldap24-server: Fix breakage after SASL changes

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 Aug 2021 11:53:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257529

            Bug ID: 257529
           Summary: net/openldap24-server: Fix breakage after SASL changes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: delphij@FreeBSD.org
          Reporter: rhurlin@FreeBSD.org
          Assignee: delphij@FreeBSD.org
             Flags: maintainer-feedback?(delphij@FreeBSD.org)

Created attachment 226834
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226834&action=edit
patch to fix RUN_DEPENDS after using bsd.port.options.mk

Hi Xin LI,

Thanks for the SASL changes in net/openldap24-server.


Unfortunetaly there seem to be a breakage with this new code:

#cd net/openldap24-client
#make
/!\ openldap-client-2.4.59_1: Makefile errors /!\

The following options helpers are incorrectly set after bsd.port.options.mk
and are ineffective: GSSAPI_RUN_DEPENDS
*** Error code 1
Stop.


This happens, because GSSAPI_RUN_DEPENDS (in the servers Makefile) is used
after '.include <bsd.port.options.mk>'.

The attached patch changes this to old style RUN_DEPENDS in an .if/.endif. This
should work as expected, I hope.

Regards,
Rainer

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