Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 09:23:44 +0200
From:      Matthias Andree <matthias.andree@gmx.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: SHEBANG_FILES
Message-ID:  <539AA700.7010800@gmx.de>
In-Reply-To: <ADA36DD114B5305E864AF4B7@localhost>
References:  <7646251E3D4A8BC9D9A9A9BB@localhost> <20140612212503.GA2341@home.opsec.eu> <ADA36DD114B5305E864AF4B7@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 12.06.2014 23:52, schrieb Paul Schmehl:
> --On June 12, 2014 at 11:25:03 PM +0200 Kurt Jaeger <lists@opsec.eu> wrote:
> 
>> Hi!
>>
>>> I'm working on switching one of my ports over to staging.  During
>>> testing,  I got this:
>>>
>>> Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix
>>> for  'bin/argus-lsof'
>>> Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for
>>> 'bin/argus-vmstat'
>>>
>>> I've never seen this before, so I had to do a little digging.
>>> Eventually I  put this in the Makefile:
>>>
>>> USES=    shebangfix
>>> SHEBANG_FILES=    bin/argus-lsof bin/argus-vmstat
>>
>> Almost correct.
>>
> 
> Do I need a comma between the files?

No, but instead of giving their install location, you need to list the
files with the relative path into $WRKSRC after they've gotten unpacked.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539AA700.7010800>