From owner-freebsd-ports@FreeBSD.ORG Wed Apr 14 13:16:56 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 F0CD716A4CE for ; Wed, 14 Apr 2004 13:16:56 -0700 (PDT) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FA6A43D66 for ; Wed, 14 Apr 2004 13:16:56 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd07.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1BDqoZ-0001yV-01; Wed, 14 Apr 2004 22:16:55 +0200 Received: from Andro-Beta.Leidinger.net (Xpx6ryZcZekWtf7UFfXQcHF0+-YSv2Gr0Ah0hz81389z+mi5MksyY2@[217.229.215.93]) by fmrl07.sul.t-online.com with esmtp id 1BDqo1-1OjHNo0; Wed, 14 Apr 2004 22:16:21 +0200 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) i3EKGFaQ032743; Wed, 14 Apr 2004 22:16:15 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Wed, 14 Apr 2004 22:16:40 +0200 From: Alexander Leidinger To: Garance A Drosihn Message-Id: <20040414221640.3e12e6d7@Magellan.Leidinger.net> In-Reply-To: References: <200404131516.i3DFGMJA078941@green.homeunix.org> <20040413181311.GA5858@schweikhardt.net> <20040414210630.4353e27c@Magellan.Leidinger.net> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: Xpx6ryZcZekWtf7UFfXQcHF0+-YSv2Gr0Ah0hz81389z+mi5MksyY2@t-dialin.net cc: freebsd-ports@freebsd.org Subject: Re: ports and DESTDIR (was: Second "RFC" on pkg-data idea for ports) 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: Wed, 14 Apr 2004 20:16:57 -0000 On Wed, 14 Apr 2004 16:03:02 -0400 Garance A Drosihn wrote: > Another complication is that many ports include cross-references > to themselves or other programs "on the system". If you install > to /otherhost/usr/local/bin, then those ports will embed that > installation path in the files they install. When you then > run it on the other system, it references /other/usr/local > instead of the /usr/local that you want it to use. > > I know I have been bitten by this on some occasions, although I > can't think of a specific example right now... Only if you misuse PREFIX for this. DESTDIR is an install-time only variable. Bye, Alexander. -- I'm available to get hired. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7