HomeFreeBSD

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

Description

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

Details

Provenance
yasuAuthored on Nov 3 2023, 8:59 AM
Parents
R11:ce99a9feeaab: www/node18: Remove DTrace support to fix build with upcoming binutils 2.41
Branches
Unknown
Tags
Unknown