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.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from tesla.newpaltz.edu (tesla.newpaltz.edu [137.140.1.102]) by chiba.3jane.net (Postfix) with ESMTP id 43C372015D9C for ; Wed, 20 Feb 2002 03:55:17 -0600 (CST) Received: from res57-81.resnet.newpaltz.edu (res57-81.resnet.newpaltz.edu [137.140.57.81]) by tesla.newpaltz.edu (8.9.3/8.9.3) with ESMTP id EAA10776 for ; Wed, 20 Feb 2002 04:53:13 -0500 (EST) Subject: Re: [gentoo-dev] prefix overide portage From: "Bruce A. Locke" To: gentoo-dev@gentoo.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 20 Feb 2002 04:53:55 -0500 Message-Id: <1014198836.5069.3.camel@kodiak.chronospace.org> Mime-Version: 1.0 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: d1f02c96-d04b-4e28-becc-62f5bb30b6c1 X-Archives-Hash: 5ebd1c2f4ed90a12bebe4e7c06d30361 On Tue, 2002-02-19 at 23:38, Dave Lee wrote: > I don't think this would actually be "hacking", I would call it something > much nicer, like cleaning up. Hacking as in trying to "hack around in" an autogenerated script that quite frankly wasn't meant for humans to edit it, or having to autogenerate our own configure scripts using a system few people really understand :) I do think "hacking" is the correct term here ;) > I can see the desire to set a custom > install prefix, and I think that making the ebuild scripts more flexible > to allow for this may prove useful in that it will make the portage system > much more flexible and customizable. It should't be too much effort to > let loose some scripts on the portage tree to fix --preifx=/usr to > --preifx=$SOME_PREFIX_VAR where the SOME_PREFIX_VAR can be set in > /etc/make.conf. In another thread Vitaly Kushneriuk said "the Gentoo way > is to provide user with the maximum control that is practical" and I dont > think having a custom prefix would be impractical. Anyway, just my > thoughts on the subject. One thing to note is that I noticed the ebuild > system is "rigid" like this in more ways than just preifx, every other > configure variable is hardcoded by the ebuild author into the ebuild file, > like mandir and others. In rpm systems, when you create an rpm spec, you > can use %{_prefix} and %{_mandir} when you build rpms, and that gives it > some flexibility. Agreed, it would be a nice addition. It would help if someone associated with portage would add relavent support to portage or at least set an example as a standard. This means we could make sure all new packages follow it and we can phase it into older packages over time as we update them for other reasons. -- Bruce A. Locke blocke@shivan.org