SHEBANG_FILES

Kurt Jaeger lists at opsec.eu
Thu Jun 12 21:25:05 UTC 2014


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 at opsec.eu            +49 171 3101372                         6 years to go !


More information about the freebsd-ports mailing list