diff options
author | jlam <jlam@pkgsrc.org> | 2002-11-01 06:29:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-11-01 06:29:23 +0000 |
commit | 3ea1f6abe7f92b29f86018227c8db15b821d4c84 (patch) | |
tree | 74e3bf9c7a7d1947ab823217ecca997956d4005f /archivers | |
parent | 6bbf080d53553594812279c2053b75a1314418b4 (diff) | |
download | pkgsrc-3ea1f6abe7f92b29f86018227c8db15b821d4c84.tar.gz |
When "make install" su's to root, su is invoked with the "-l" option, which
causes the shell environment to be discarded. This also discards
OBJMACHINE or OBJHOSTNAME, which causes WRKDIR_BASENAME to be different
between the "non-root" and "root" make targets and leads to the breakage
seen in pkg/18879 by Simon Burge. Fix this by saving the OBJHOSTNAME or
OBJMACHINE setting in MAKEFLAGS so that it is seen even after we "su -l" to
root.
Diffstat (limited to 'archivers')
0 files changed, 0 insertions, 0 deletions