Gentoo Archives: gentoo-portage-dev

From: Aaron Walker <ka0ttic@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] The merge of emerde with emerge
Date: Fri, 03 Dec 2004 14:06:44
Message-Id: 41B072EE.4060408@gentoo.org
In Reply to: Re: [gentoo-portage-dev] The merge of emerde with emerge by Alpt
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Alpt wrote:
5 | On Fri, Dec 03, 2004 at 01:15:33AM -0500, Aaron Walker after a spiritual call
6 wrote :
7 | ~>
8 | ~> | ah, I forgot to say that there's also this:
9 | ~> | The E_INFODIR, E_LOCALSTATEDIR, E_MANDIR, E_SYSCONFDIR, E_DATADIR
10 options was
11 | ~> added
12 | ~> | in make.conf. With these the user can choose the destination dirs of
13 thepackages
14 | ~> | being installed.
15 | ~>
16 | ~> The EXTRA_ECONF variable currently exists for this (and anything else the user
17 | ~> wants to change).
18 | ~>
19 | ~> EXTRA_ECONF="--infodir=... --localstatedir=... etc ..."
20 |
21 | really?
22 | then why in econf the ./configure stuff is done with absolute path?
23
24 Because those are the defaults. They have to default to something, even if
25 unspecified (in that case --prefix=/usr/local iirc).
26
27 | if you pass to EXTRA_CONF --mandire for example then you'll have
28 | ./configure --mandir /usr/share/man --mandir USER_SUPPLIED_PATH
29 | what will happen?
30
31 afaik, configure will use the last specified option. If you specify --mandir
32 twice, it'll use the last specified one (see for yourself). That's probably
33 the reason EXTRA_ECONF is passed to configure *after* the paths.
34
35 | anyway I think it's cleaner to keep E_INFODIR, E_LOCALSTATEDIR,
36 | E_MANDIR, E_SYSCONFDIR, E_DATADIR separated from EXTRA_CONF
37
38 It's your program, so you are more than welcome to. I just wanted to make sure
39 you were aware that there is already a way to do this.
40
41 Cheers
42 - --
43 Deliver yesterday, code today, think tomorrow.
44
45 Aaron Walker < ka0ttic@g.o > http://dev.gentoo.org/~ka0ttic/
46 Gentoo/BSD | cron | shell-tools http://butsugenjitemple.org/~ka0ttic/
47
48 -----BEGIN PGP SIGNATURE-----
49 Version: GnuPG v1.2.6 (GNU/Linux)
50
51 iD8DBQFBsHLuC3poscuANHARArzXAKCA2b3FWuZWaCT3folGvcsfGm0YMACgh8WY
52 E9uSDTFYfiJhcjQknbPmXkc=
53 =j67o
54 -----END PGP SIGNATURE-----
55
56 --
57 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
[gentoo-portage-dev] Re: The merge of emerde with emerge Torsten Veller <ml-en@××××××.net>