[Bug 274885] net/samba413 net/samba416: Make 'USES=shebangfix' work as is expected

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Nov 2023 09:10:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274885

            Bug ID: 274885
           Summary: net/samba413 net/samba416: Make 'USES=shebangfix' work
                    as is expected
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur@FreeBSD.org
          Reporter: yasu@freebsd.org
          Assignee: timur@FreeBSD.org
             Flags: maintainer-feedback?(timur@FreeBSD.org)

Created attachment 246077
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246077&action=edit
Patch file

While testing patch submitted to bug #270383, I noticed 'USES=shebangfix'
doesn't work as is expected with current samba ports. According to the
investigation by Tatsuki Makino, it is because SHEBANG_FILES is defined after
bsd.port.options.mk and bsd.port.pre.mk are included. So fix the issue by
moving the definition before the inclusion of them

Reference:     
https://lists.freebsd.org/archives/freebsd-ports/2023-November/004849.html
Reference:     
https://lists.freebsd.org/archives/freebsd-ports/2023-November/004852.html
Reference:     
https://lists.freebsd.org/archives/freebsd-ports/2023-November/004853.html

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