Bug 274885 - net/samba413 net/samba416: Make 'USES=shebangfix' work as is expected
Summary: net/samba413 net/samba416: Make 'USES=shebangfix' work as is expected
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yasuhiro Kimura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-03 09:10 UTC by Yasuhiro Kimura
Modified: 2023-11-18 00:33 UTC (History)
1 user (show)

See Also:
yasu: maintainer-feedback-


Attachments
Patch file (3.46 KB, patch)
2023-11-03 09:10 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2023-11-03 09:10:20 UTC
Created attachment 246077 [details]
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
Comment 1 Yasuhiro Kimura freebsd_committer freebsd_triage 2023-11-18 00:22:47 UTC
Maintainer timeout. Take.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-11-18 00:30:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=88d031b449271f1beb10d96ff344582429bfada9

commit 88d031b449271f1beb10d96ff344582429bfada9
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-11-03 08:59:50 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-11-18 00:27:23 +0000

    net/samba41[36]: Make 'USES=shebangfix' work as is expected

    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
    PR:             274885
    Approved by:    maintainer timeout

 net/samba413/Makefile | 10 +++++-----
 net/samba416/Makefile | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)