[Bug 280067] net/netatalk3: Fails to package without LDAP option

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Jul 2024 09:19:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280067

            Bug ID: 280067
           Summary: net/netatalk3: Fails to package without LDAP option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus@FreeBSD.org
          Reporter: stewart+FreeBSD-BugZilla@arnos-vale.net
             Flags: maintainer-feedback?(marcus@FreeBSD.org)
          Assignee: marcus@FreeBSD.org

Created attachment 251809
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251809&action=edit
Package LDAP-option files only when the option is defined

When building without the LDAP option set, packaging fails due to missing files
(afpldaptest and afpldaptest.1.gz).

The attached patch simply prefixes those pkg-plist entries with %%LDAP%%,
similarly to other option handling.

Thanks,
Stewart.

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