Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2014 23:25:03 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: SHEBANG_FILES
Message-ID:  <20140612212503.GA2341@home.opsec.eu>
In-Reply-To: <7646251E3D4A8BC9D9A9A9BB@localhost>
References:  <7646251E3D4A8BC9D9A9A9BB@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

> But I'm getting errors:
> 
> ===>  Patching for argus-sasl-3.0.6.1
> sed: bin/argus-lsof: No such file or directory
> 
> The argus-lsof and argus-vmstat files don't exist in the tarball.  They are 
> created during the make process.

Can you fix the path from the source files they are created from ?

Then you do not need shebangfix for them.

Which port is that ?

-- 
pi@opsec.eu            +49 171 3101372                         6 years to go !



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