From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI,RDNS_NONE autolearn=no autolearn_force=no version=4.0.0 Received: from kermit.unets.com (unknown [166.82.132.21]) by chiba.3jane.net (Postfix) with ESMTP id C272AAC38D for ; Tue, 16 Apr 2002 14:06:39 -0500 (CDT) Received: from beowulf.cryptocomm.com ([166.82.132.49]) by kermit.unets.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 16 Apr 2002 15:06:39 -0400 From: Adam Voigt To: gentoo-dev@gentoo.org X-Mailer: Cronos II 0.2.1 (gnome-libs 1.2.13; Linux 2.4.7-10; i686) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Message-ID: X-OriginalArrivalTime: 16 Apr 2002 19:06:39.0367 (UTC) FILETIME=[D6628970:01C1E579] Date: 16 Apr 2002 15:06:39 -0400 Subject: [gentoo-dev] Prefixed Emerge's Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 5c31da99-d966-411a-b1cf-0f49878046e7 X-Archives-Hash: 951a7d0b18ce140946b77a898b4974b7 I was just curious if adding the feature of custom prefixes on emerge's (the equivalent of --prefix on a configure) would be terribly hard to do, I ask because I would like to help and don't want to bother those of you working on serious issues with this feature request. As I understand it, all it would really entail is checking if the enviorment variable PREFIX is set and if it is switch PREFIX for /usr or whatever the path is in each ebuild. So for instance, if you were installing mysql if PREFIX = "/usr/mysql" then everything would be set under that directory, so there would be /usr/mysql/var for the actual db, etc. Is this correct? And if it is, does this mean any package which supports custom prefix must have it's ebuild, hand edited? If this is correct I wouldn't mind going through and at least starting on some of more popular packages to add custom pathing's. If I am totally off base on this, I aplogize, this was just what popped into my head as a possible solution to the problem. Thanks, Adam Voigt adam.voigt@cryptocomm.com