From owner-freebsd-ports@FreeBSD.ORG Fri Jun 13 03:56:25 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 CBD9DE15 for ; Fri, 13 Jun 2014 03:56:25 +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 875FE2A84 for ; Fri, 13 Jun 2014 03:56:25 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WvIbE-0001wa-Eq; Fri, 13 Jun 2014 05:56:20 +0200 Date: Fri, 13 Jun 2014 05:56:20 +0200 From: Kurt Jaeger To: Paul Schmehl Subject: Re: SHEBANG_FILES Message-ID: <20140613035620.GC2341@home.opsec.eu> References: <7646251E3D4A8BC9D9A9A9BB@localhost> <20140612212503.GA2341@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: Fri, 13 Jun 2014 03:56:25 -0000 Hi! > >> 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 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 ? [...] > net-mgmt/argus3 It's probably events/argus-lsof.pl and events/argus-vmstat.sh, then. -- pi@opsec.eu +49 171 3101372 6 years to go !