From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 17:33:30 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39D1A16A4CE for ; Tue, 15 Feb 2005 17:33:30 +0000 (GMT) Received: from out009.verizon.net (out009pub.verizon.net [206.46.170.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7F2243D31 for ; Tue, 15 Feb 2005 17:33:29 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out009.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050215173329.JOXM4172.out009.verizon.net@ringworm.mechee.com> for ; Tue, 15 Feb 2005 11:33:29 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id D7C812CE740; Tue, 15 Feb 2005 09:29:11 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Tue, 15 Feb 2005 09:29:11 -0800 User-Agent: KMail/1.7.2 References: <81bf90de05021506201f3240a3@mail.gmail.com> In-Reply-To: <81bf90de05021506201f3240a3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502150929.11455.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out009.verizon.net from [4.26.84.7] at Tue, 15 Feb 2005 11:33:29 -0600 Subject: Re: Specify location of port install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 17:33:30 -0000 On Tuesday 15 February 2005 06:20 am, S Salamander wrote: > I have a situation where I need both gpgme03 and gpgme installed. > However, both install their includes and other files in very similar > locations and another program I'm installing can't find the needed > gpgme03 files. > > I don't believe anything else I have installed depends on gpgme03, so > I was wondering if there was a way when installing it again I could > specify the install directory such that I could point other apps I'm > installing to it more directly (I think their finding the gpgme files > when they need the gpgme03 files). > > Is this possible? > > Thanks. If the port is prefix compliant you should be able to do make PREFIX=/alternate base dir/ Then watch out for libraries the port installs, because they will end up in /alternate base dir/lib. When that happens run ldconfig -m /alternate base dir/lib, add /alternate base dir/bin to your path and everything should be set. -Mike