From owner-freebsd-ports@FreeBSD.ORG Sun Jan 22 15:14:03 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 DAFFE106566C; Sun, 22 Jan 2012 15:14:03 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 54F388FC13; Sun, 22 Jan 2012 15:14:03 +0000 (UTC) Received: from outgoing.leidinger.net (p4FC43082.dip.t-dialin.net [79.196.48.130]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 2D93E844017; Sun, 22 Jan 2012 16:13:49 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTP id 6A69D15B8; Sun, 22 Jan 2012 16:13:46 +0100 (CET) Date: Sun, 22 Jan 2012 16:13:44 +0100 From: Alexander Leidinger To: Chris Rees Message-ID: <20120122161344.000028a2@unknown> In-Reply-To: References: <4F1C0B6B.2040106@herveybayaustralia.com.au> X-Mailer: Claws Mail 3.7.10cvs42 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 2D93E844017.A01BC X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1, required 6, autolearn=disabled, ALL_TRUSTED -1.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1327850030.5539@IK2n1dwEOwTrrIuTI22cIQ X-EBL-Spam-Status: No Cc: FreeBSD Ports 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 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:14:03 -0000 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 submitted a PR regarding the deficits of the licenses framework when used in linuxulator ports. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137