From owner-freebsd-ports@FreeBSD.ORG Thu Jun 12 21:25:05 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 918CDEF8 for ; Thu, 12 Jun 2014 21:25:05 +0000 (UTC) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 532B92A65 for ; Thu, 12 Jun 2014 21:25:05 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WvCUZ-0001GL-9H; Thu, 12 Jun 2014 23:25:03 +0200 Date: Thu, 12 Jun 2014 23:25:03 +0200 From: Kurt Jaeger To: Paul Schmehl Subject: Re: SHEBANG_FILES Message-ID: <20140612212503.GA2341@home.opsec.eu> References: <7646251E3D4A8BC9D9A9A9BB@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7646251E3D4A8BC9D9A9A9BB@localhost> Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2014 21:25:05 -0000 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 !