| 1 |
From: Andreas Henriksson <[email protected]> |
| 2 |
Subject: reproducible build for paths embedded in shipped files |
| 3 |
|
| 4 |
Looking up the full path of tools from PATH at build-time and |
| 5 |
injecting them in files shipped in the package might lead |
| 6 |
to unexpected paths being embedded when building in an |
| 7 |
unclean local environment. |
| 8 |
|
| 9 |
To avoid this problem, this patch gives the explicit paths |
| 10 |
to the tools to make the build reproducible. |
| 11 |
|
| 12 |
Unfortunately only tclsh is overrideable via --with-tclsh= |
| 13 |
from configure command line but no the rest, so we opt |
| 14 |
for patching the configure file instead. |
| 15 |
|
| 16 |
This patch also makes sure that the specified variables (PS and |
| 17 |
BASENAME) actually gets used in the check_requirement call. |
| 18 |
|