From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 08:52:24 2003 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 5979D37B401 for ; Tue, 15 Apr 2003 08:52:23 -0700 (PDT) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 6D90F43FDF for ; Tue, 15 Apr 2003 08:52:22 -0700 (PDT) (envelope-from mwm-dated-1050853941.fdd45a@mired.org) Received: (qmail 67865 invoked from network); 15 Apr 2003 15:52:21 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 15 Apr 2003 15:52:21 -0000 Received: by guru.mired.org (tmda-inject, from uid 100); Tue, 15 Apr 2003 10:52:21 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16028.10932.908846.661513@guru.mired.org> Date: Tue, 15 Apr 2003 10:52:20 -0500 To: Paul Hoffman In-Reply-To: References: X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.74 (Citation) cc: freebsd-questions@FreeBSD.ORG Subject: Re: Getting p5-foo packages to install in the right place 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 Apr 2003 15:52:24 -0000 In , Paul Hoffman typed: > However, when I give the "pkg_add -r p5-foo" command, it install the > package (and the the dependencies) in the 5.005 tree, not in the 5.8 > tree. How can I get pkg_add to install in the correct place? In general, you probably can't. For each package, you can try "pkg_info -p .tgz" to see what the package base is, but it's probably /usr/local for all of them. The path names beyond /usr/local are wired into the package, and can't be changed. To fix this, you probably have to install from the ports, not the packages. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.