From owner-freebsd-ports Wed Aug 30 02:59:51 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id CAA23429 for ports-outgoing; Wed, 30 Aug 1995 02:59:51 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id CAA23418 ; Wed, 30 Aug 1995 02:59:43 -0700 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id CAA02875; Wed, 30 Aug 1995 02:59:31 -0700 To: asami@cs.berkeley.edu (Satoshi Asami) cc: paul@freebsd.org, ports@freebsd.org Subject: Re: Dependencies In-reply-to: Your message of "Wed, 30 Aug 1995 01:27:36 PDT." <199508300827.BAA17468@silvia.HIP.Berkeley.EDU> Date: Wed, 30 Aug 1995 02:59:31 -0700 Message-ID: <2872.809776771@time.cdrom.com> From: "Jordan K. Hubbard" Sender: ports-owner@freebsd.org Precedence: bulk > The problem with this approach is that it hard-codes the "local" tree > to /usr/local and the X tree to /usr/X11R6, which we are trying to > avoid. In fact, may I ask that people please stop imbeding @prefix commands at the top of their packing lists? It's simply not necessary now! Before: @prefix /usr/local bin/foo lib/foo After: bin/foo lib/foo The pkg_create command, which is pretty much ONLY run by the ports mechanism now (nobody in their right mind creates packages by hand - it's just too hard :) already gets the prefix passed in, and it's really easy to override that way. OK, OK, truth be told, the -p flag overrides the copy in the packing list *anyway* so I guess the @prefix is a no-op at best, but it's still redundant and we should probably just start removing them. Jordan