public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kurt V. Hindenburg" <khindenburg@cherrynebula.net>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Multiple DISTDIRS works...
Date: Tue, 3 Jun 2003 13:21:41 -0500	[thread overview]
Message-ID: <200306031321.54084.khindenburg@cherrynebula.net> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Its alive, its alive, I tell you!"

Finally got my hacking of portage.py and ebuild.sh done.  I added a 
new variable to /etc/make.conf DISTDIRS which contains directories to 
look for distfiles in.  This allows people to burn their distfiles on 
a CD.

/etc/make.conf sample (I have 2 cdroms):
DISTDIRS="/mnt/cdrw /mnt/cdr"

% diff ebuild.sh ebuild.sh-2.0.48  | wc -l
     64
% diff portage.py portage.py-2.0.48 | wc -l
    186

A lot of the portage.py diff is having to move stuff around...create 
new routines to make it easier...

Anyway, it works for simple stuff:
1. -f and -fp
2. Installing when files are in different directories.

Problems are when DISTDIR is hard-coded into the ebuild such with 
mutt-1.4.1-r1.ebuild

patch -d ${S} -p1 < ${DISTDIR}/patch-1.4.0.cd.edit_threads.9.5 || die

Oh well, back to hacking...at least now I can emerge stuff again.

- -- 

 Kurt
- ---
  There is no good and evil; there is only power.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+3OdB0cAvx3ELfKARAq5bAJ9GPCX6E3+XWmuILxEknpirltY21ACdEsL1
ALdG72DfkLhM7loPOJfy6s4=
=81z8
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


                 reply	other threads:[~2003-06-03 18:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200306031321.54084.khindenburg@cherrynebula.net \
    --to=khindenburg@cherrynebula.net \
    --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