Bug 228874

Summary: /usr/bin/make rejected as shebang by stage-qa
Product: Ports & Packages Reporter: Jason W. Bacon <jwb>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jason W. Bacon freebsd_committer freebsd_triage 2018-06-10 18:31:54 UTC
Error: '/usr/bin/make' is an invalid shebang you need USES=shebangfix for 'bin/abyss-pe'
Error: '/usr/bin/make' is an invalid shebang you need USES=shebangfix for 'bin/abyss-bloom-dist.mk'
*** Error code 1

Stop.
make: stopped in /usr/ports/wip/abyss

It's an unusual use of make:

#!/usr/bin/make -rRf
# Run the ABySS assembler.
# Written by Shaun Jackman <sjackman@bcgsc.ca> and
# Anthony Raymond <traymond@bcgsc.ca>.

Simply adding /usr/bin/make to the whitelist in /usr/ports/Mk/Scripts/qa.sh eliminates the error.

Can this be added to ports, or should I hack around this in the abyss port?
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-09-06 08:57:48 UTC
A commit references this bug:

Author: bapt
Date: Fri Sep  6 08:57:13 UTC 2019
New revision: 511285
URL: https://svnweb.freebsd.org/changeset/ports/511285

Log:
  Add make to the list of allowed shebang

  PR:		228874
  Reported by:	jwb

Changes:
  head/Mk/Scripts/qa.sh