From owner-freebsd-ports@FreeBSD.ORG Sat May 8 17:05:02 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 B647116A4CE for ; Sat, 8 May 2004 17:05:02 -0700 (PDT) Received: from fobos.ldc.net (fobos.ldc.net [213.160.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8A8A43D1D for ; Sat, 8 May 2004 17:05:01 -0700 (PDT) (envelope-from mirya@ukrpost.net) Received: from [213.160.133.158] (213.160.133.158.ldc.net [213.160.133.158] (may be forged)) by fobos.ldc.net (8.12.10/8.12.10) with ESMTP id i4900LDg017323 for ; Sun, 9 May 2004 03:04:52 +0300 (EEST) From: Kyryll A Mirnenko To: freebsd-ports@freebsd.org Date: Sun, 9 May 2004 03:05:29 +0300 User-Agent: KMail/1.6.1 References: <20040507135249.0199343D2D@mx1.FreeBSD.org> <409C0E69.6070705@obsecurity.org> In-Reply-To: <409C0E69.6070705@obsecurity.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Message-Id: <200405090305.29983.mirya@ukrpost.net> 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: Sun, 09 May 2004 00:05:02 -0000 > > 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 Yeah, I do understand -p won't help (my HDDs're covered with heavy cross-symlinks net), but my idea is that port-compilers should deal with this to make *.pc paths being configured at install time