From owner-freebsd-ports@FreeBSD.ORG Sat Jun 14 02:13:32 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 AEA6CC29 for ; Sat, 14 Jun 2014 02:13:32 +0000 (UTC) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.229]) by mx1.freebsd.org (Postfix) with ESMTP id 7A3902E39 for ; Sat, 14 Jun 2014 02:13:31 +0000 (UTC) Received: from [76.184.156.59] ([76.184.156.59:57675] helo=[192.168.1.32]) by dnvrco-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id AB/F0-11813-3CFAB935; Sat, 14 Jun 2014 02:13:24 +0000 Date: Fri, 13 Jun 2014 21:13:23 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: Matthias Andree , freebsd-ports@freebsd.org Subject: Re: SHEBANG_FILES Message-ID: In-Reply-To: <539AA700.7010800@gmx.de> References: <7646251E3D4A8BC9D9A9A9BB@localhost> <20140612212503.GA2341@home.opsec.eu> <539AA700.7010800@gmx.de> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-RR-Connecting-IP: 107.14.64.130:25 X-Authority-Analysis: v=2.1 cv=a+i+9CiF c=1 sm=1 tr=0 a=iy4Q/FHRRDrLt+awqfk3Bw==:117 a=iy4Q/FHRRDrLt+awqfk3Bw==:17 a=ayC55rCoAAAA:8 a=05ChyHeVI94A:10 a=kj9zAlcOel0A:10 a=UdvEN9gbqWsBAELrqE0A:9 a=CjuIK1q_8ugA:10 a=_RhRFcbxBZMA:10 X-Cloudmark-Score: 0 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: Sat, 14 Jun 2014 02:13:32 -0000 --On June 13, 2014 at 9:23:44 AM +0200 Matthias Andree wrote: > 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. > That *is* the relative path into WRKSRC. I just gave up trying to figure it out and used REINPLACE instead. Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell