Fix previous attempt to cache some parameters in environment variables.
The quoting was messed up by use of "eval" and the cached values did not
match what the ports system expected.
Submitted by: tijl
Reported by: tijl
Approved by: antoine (implicit)