From owner-freebsd-current@FreeBSD.ORG Sat Jul 16 16:13:13 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E571106566C; Sat, 16 Jul 2011 16:13:13 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id CB1F38FC08; Sat, 16 Jul 2011 16:13:12 +0000 (UTC) Received: by iwr19 with SMTP id 19so2390666iwr.13 for ; Sat, 16 Jul 2011 09:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=/Lj1crTw8sxUXPmd5j+n2Ho1CZrwremisMJqtZTsRvo=; b=YVWng1qvytWj4p2SUuMkMndVHkTDPPaqgZ8BNmMSrZS6T2O9tI6sDWtI+KGRAawB1i dqq8RZSRVBIAHZZU6glM4/VB9FObVkBhV5DIr73QylH1KtE1PNLP5rE1xiXk85E0luwC u8QgZ04sRmP7S86RqnmgYf6jZ/HQ8j53Zs6As= MIME-Version: 1.0 Received: by 10.231.92.196 with SMTP id s4mr4376188ibm.10.1310832792061; Sat, 16 Jul 2011 09:13:12 -0700 (PDT) Sender: utisoft@gmail.com Received: by 10.231.67.211 with HTTP; Sat, 16 Jul 2011 09:13:12 -0700 (PDT) Received: by 10.231.67.211 with HTTP; Sat, 16 Jul 2011 09:13:12 -0700 (PDT) In-Reply-To: References: <4E20FADE.6060103@missouri.edu> <4E21B051.5040502@missouri.edu> <4E21B6A0.6060908@missouri.edu> Date: Sat, 16 Jul 2011 17:13:12 +0100 X-Google-Sender-Auth: RO1SihIlZ2Lm2lYY2xro9N3HcJo Message-ID: From: Chris Rees To: "bug-followup@freebsd.org" , "current@freebsd.org" , "freebsd@sopwith.solgatos.com" , Stefan Bethke , Stephen Montgomery-Smith Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: ports/158179: some packages do not fully honor -P dir option in pkg_add(1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2011 16:13:13 -0000 On 16 Jul 2011 17:04, "Stephen Montgomery-Smith" wrote: > > On 07/16/2011 10:53 AM, Chris Rees wrote: >> >> >> On 16 Jul 2011 16:38, "Stephen Montgomery-Smith" > > wrote: >> > For example, suppose the C source code contains something like: >> > char applications_dir = "/usr/local/share/applications"; >> > and this is filled in by the ./configure script. >> > >> > How is that handled? >> > >> >> It's not. >> >> Remember what a package is, literally the files from the plist tarred >> with some magic +FILEs and the pkg-*install files- if paths are >> hardcoded in objects that's how it'll be installed. > > > What if some of the installation programs are binaries, and "/usr/local" is hard coded into installation binaries or scripts provided by the software itself. Sorry, poor wording on my part. If it was compiled as prefix=/usr/local, that's how it'll be installed, regardless of your -p argument. Chris