public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Multiple DISTDIRS works...
@ 2003-06-03 18:21 Kurt V. Hindenburg
  0 siblings, 0 replies; only message in thread
From: Kurt V. Hindenburg @ 2003-06-03 18:21 UTC (permalink / raw
  To: gentoo-dev

-----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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-03 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-03 18:21 [gentoo-dev] Multiple DISTDIRS works Kurt V. Hindenburg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox