From owner-freebsd-ports@FreeBSD.ORG Sun Jan 22 15:24:24 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2676106564A for ; Sun, 22 Jan 2012 15:24:24 +0000 (UTC) (envelope-from freebsd-ports@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id A2DA08FC08 for ; Sun, 22 Jan 2012 15:24:24 +0000 (UTC) Received: from mail.unitedinsong.com.au (bell.herveybayaustralia.com.au [192.168.0.40]) by mail.unitedinsong.com.au (Postfix) with ESMTP id EFD8C5C28 for ; Mon, 23 Jan 2012 01:36:55 +1000 (EST) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 7A63C5C21 for ; Mon, 23 Jan 2012 01:36:55 +1000 (EST) Message-ID: <4F1C293C.4020809@herveybayaustralia.com.au> Date: Mon, 23 Jan 2012 01:20:28 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4F1C0B6B.2040106@herveybayaustralia.com.au> <20120122161344.000028a2@unknown> In-Reply-To: <20120122161344.000028a2@unknown> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: What is the best way to _not_ install licenses? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2012 15:24:25 -0000 On 01/23/12 01:13, Alexander Leidinger wrote: > On Sun, 22 Jan 2012 13:44:25 +0000 Chris Rees wrote: > >> On 22 January 2012 13:13, Da Rock >> wrote: >>> I'm back to resolve some issues with my new port ports/164113. >>> >>> I have to not install license as per instructions in the porters >>> handbook (which I wasn't aware it was doing). What is the best way >>> to achieve this? >> Huh? Why don't you want to install the licence? > Seems there's a little bit of confusion around. The port itself is > fine, the version in ports does not install any license. The redports > log he looked at was based upon what he submitted, but it is not what I > committed. So for the port there's nothing to do ATM. > > The problem with the licenses framework and the linuxulator ports is, > that the licenses framework assumes, that PREFIX/share does not need to > be removed (it needs to be removed in the linuxulator case). My > workaround was to specify NO_LICENSES_INSTALL=yes. > > Another problem is probably, that the licenses framework writes the > license to WRKDIR/license_name and the linuxulator ports install > everything from WRKDIR except "WRKDIR/.*". This way we get > PREFIX/license_name, again without a PLIST entry like the PREFIX/share > directory. My workaround was to do a RM PREFIX/license_name in > post-install. I tried that, but it came up error again. I haven't yet tried with the rm in post-extract, but I thought I'd check in first to see if I was on the right track. The other issues I mentioned are a bit of a worry as well. Sorry, I'm a bit pedantic :) Also, what exactly is QATty in reports? It goes with a bang...