On 31/12/12 01:48, Eric Fernandez wrote: > Note that "source /etc/profile" in build() is not a good solution, as > it runs all profile.d scripts and if one script fails, then the build > process is aborted. It is better to fix makepkg upstream. I had a look > at the code, and do not understand why run_pacman does not set the > variables, but maybe it is a problem of variable space? >
How about: source /etc/profile &>/dev/null on line 483 of makepkg in the handle_deps function right after installing dependencies?
