| Summary: | net-misc/dhcpcd: configure script prefers PREFIX from environment over command line switch | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | hellohellodon |
| Component: | Current packages | Assignee: | William Hubbs <williamh> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | base-system, roy |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
hellohellodon
2011-03-10 05:12:56 UTC
Prefix uses EPREFIX, not PREFIX. EPREFIX is blacklisted by Portage, so it cannot bleed in from the environment. Assigning to proper maintainer. Removing prefix@g.o Roy, there appears to be an issue with dhcpcd's configure script. If PREFIX is set in the environment and --prefix= is given on the command line, the environment setting of PREFIX is used, instead of the --prefix= setting on the command line. For example, if I run: PREFIX=/foo/bar ./configure --prefix=/home/william the configure script ignores the --prefix=/home/william command line switch and uses /foo/bar as the value for PREFIX. Thanks, William Should be fixed here: http://roy.marples.name/cgi-bin/gitweb.cgi?p=dhcpcd.git;a=commitdiff;h=791c63ac688169ed7d0b4145dfefb2ce0c9cc7d4 Can someone test it? Roy, I ran the same test I mentioned above, and it works as expected, the --prefix setting is now preferred. Should I cherry-pick the patch or are you going to do another release soon? William Cherry pick it as the next release won't be for a week or so. This is fixed in dhcpcd-6.0.2. |