From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 21 01:49:14 2012 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFA36D98; Fri, 21 Dec 2012 01:49:14 +0000 (UTC) (envelope-from zarvonsteve@gmail.com) Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) by mx1.freebsd.org (Postfix) with ESMTP id 795428FC0C; Fri, 21 Dec 2012 01:49:12 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id j1so4178281oag.1 for ; Thu, 20 Dec 2012 17:49:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=XTmWK4Jc4lBloefXrEXdmflRpyVTJh76loY0+j37P7Y=; b=AUG5Ag5SQG2OITjD+5qZAGGGoKuhKtOK+fhzCx7ZaBiGW7SKa2XTaaSl9ld8BmOkf9 BD2r7SEukLWbH8YEautAo8iaBA+qAF+LHp0jFxkh4Ib1nXtrTdjqeNjEIqfoYsLxhJUM 6FvSEOZTzKIgCgwrOASbrHgWEU6RwHlpAVFz0qIFDaINwn1OzMSHUIMy3q2NIaoPbo+M pBfMoulEh7yM+TkDqnPaYpxQ+qG3o88JY1gSNRWDTyq8E2OmVg5cnSMzbY8bcXt3RV8m LXzNDq3BhgrnwwX1pzaixPGL9+mKeqEW7FdS09K+FikDyNDaFNzqlMJn5VbRksYLyq1l C+Aw== MIME-Version: 1.0 Received: by 10.60.169.135 with SMTP id ae7mr9554793oec.82.1356054551921; Thu, 20 Dec 2012 17:49:11 -0800 (PST) Sender: zarvonsteve@gmail.com Received: by 10.76.12.10 with HTTP; Thu, 20 Dec 2012 17:49:11 -0800 (PST) In-Reply-To: <50D3BF98.6050202@FreeBSD.org> References: <50D3BF98.6050202@FreeBSD.org> Date: Fri, 21 Dec 2012 11:49:11 +1000 X-Google-Sender-Auth: re5B6ajK4xQom1aLf6DDSghSnog Message-ID: Subject: Re: Possible unzip dependency bug with a PREFIX set From: Steven Harris To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 01:49:14 -0000 Thanks Matthew - yeah it was easily worked around with a couple of quick symlinks, and i had the suspicion that behaviour might have been intentional. Cheers Steve On Fri, Dec 21, 2012 at 11:47 AM, Matthew Seaman wrote: > On 21/12/2012 01:25, Steven Harris wrote: > > One a clean install of FreeBSD, i wanted to install openjdk7 into > > /share/local (which is later exported through NFS). > > > > Installing other ports (apache, php etc) works perfect, but openjdk7 > relied > > on unzip. So as a dependency, it installed unzip from ports, but > because > > of my PREFIX setting, put it in /share/local/bin/unzip > > > > Then after returning to openjdk, it was specifically looking in > > /usr/local/bin for unzip. > > This is normal. The ports system looks for whatever it needs to install > a port under ${LOCALBASE}/ and it will install the port to ${PREFIX}/ > > Usually, ${LOCALBASE} and ${PREFIX} are set to the same value: > /usr/local. Having them set to *different* values only works for > installing the one single port at the tip of the dependency tree: it's > handy for port maintainers to test the port with, but not a lot else. > Things get very ugly very quickly if you try and install > port+dependencies without ${LOCALBASE} == ${PREFIX}. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. > PGP: http://www.infracaninophile.co.uk/pgpkey > > >