From owner-freebsd-ports@FreeBSD.ORG Fri May 7 15:30:28 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80D7816A4CE for ; Fri, 7 May 2004 15:30:28 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3240743D1D for ; Fri, 7 May 2004 15:30:28 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (45211f1e9c5fad3e8266a8e21b99f282@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i47MUQVW004618; Fri, 7 May 2004 15:30:27 -0700 (PDT) Received: from rot26.obsecurity.org (rot26.obsecurity.org [10.0.0.6]) by obsecurity.dyndns.org (Postfix) with ESMTP id 29F405183F; Fri, 7 May 2004 15:30:26 -0700 (PDT) Received: from obsecurity.org (rot26.obsecurity.org [10.0.0.6]) by rot26.obsecurity.org (Postfix) with ESMTP id 70129708; Fri, 7 May 2004 15:32:09 -0700 (PDT) Message-ID: <409C0E69.6070705@obsecurity.org> Date: Fri, 07 May 2004 15:32:09 -0700 From: Kris Kennaway User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.6) Gecko/20040502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kyryll Mirnenko References: <20040507135249.0199343D2D@mx1.FreeBSD.org> In-Reply-To: <20040507135249.0199343D2D@mx1.FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: General binary packages issue: pkg-config *.pc has hadcodedbase directory X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 22:30:28 -0000 Kyryll Mirnenko wrote: > I use two harddrives & have to split the packages I install between them, > so I has 2 default installation bases (/usr/local & /usr/X11R6) and one more > for the 2nd drive: /usr2 . I found all packages contain pkg-config congifs > (*.pc) hardcoded to package default location, not to the one specified with > -p option to pkg-add Yes, it's set at compile time and cannot be changed at install time. -p is not generally useful for this reason. In your situation you need to use ports instead or make a symlink. Kris