From owner-freebsd-ports@FreeBSD.ORG Fri Jun 13 07:23:55 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 AE8A7EFE for ; Fri, 13 Jun 2014 07:23:55 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4557E2A82 for ; Fri, 13 Jun 2014 07:23:54 +0000 (UTC) Received: from mandree.no-ip.org ([78.48.70.77]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MOOdZ-1WsL2N3gV3-005m73 for ; Fri, 13 Jun 2014 09:23:46 +0200 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 1EBAB23CEED for ; Fri, 13 Jun 2014 09:23:45 +0200 (CEST) Message-ID: <539AA700.7010800@gmx.de> Date: Fri, 13 Jun 2014 09:23:44 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: SHEBANG_FILES References: <7646251E3D4A8BC9D9A9A9BB@localhost> <20140612212503.GA2341@home.opsec.eu> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:ZxRFUlhlApJZsQCJBkjn6p3hNrtYAEyLNV5tSOQcP1n+7nJT+dp 9jAP6btsX3mwfrsuqE9s2OU86ayFxUqUt/NH91OqS+0rkMTxt8rvx9h54Yfmw6JHm2Y8c+d FKOK9AgSvCehNIfZVyTJNKfo8mGVgmpk49/zD4l08y1JN8vUzqFSFg8fOuUyzA0OpaCd8h8 +k3ABFVmbDcSqo+AS1XeQ== 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 07:23:55 -0000 Am 12.06.2014 23:52, schrieb Paul Schmehl: > --On June 12, 2014 at 11:25:03 PM +0200 Kurt Jaeger 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.