public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bruce A. Locke" <blocke@shivan.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] prefix overide portage
Date: 20 Feb 2002 04:53:55 -0500	[thread overview]
Message-ID: <1014198836.5069.3.camel@kodiak.chronospace.org> (raw)
In-Reply-To: <Pine.SGI.4.21.0202192124170.8323345-100000@the-gimp>

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




      parent reply	other threads:[~2002-02-20  9:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-19 14:13 [gentoo-dev] prefix overide portage Matt Doughty
2002-02-19 20:00 ` Bruce A. Locke
2002-02-20  4:38   ` Dave Lee
2002-02-20  5:02     ` Arcady Genkin
2002-02-20  7:02       ` Matt Doughty
2002-02-20 10:07         ` Bruce A. Locke
2002-02-20 10:18           ` Gert Menke
2002-02-21  0:46           ` Matt Doughty
2002-02-20  7:15       ` Daniel Robbins
2002-02-20 15:41         ` Dave Lee
2002-02-20  9:53     ` Bruce A. Locke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1014198836.5069.3.camel@kodiak.chronospace.org \
    --to=blocke@shivan.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox