The CDPATH environment variable, as used by zsh and GNU Bash, interacts
poorly with make, so hide it.
To see it interact poorly, prior to this diff:
mkdir /tmp/src /tmp/test
export CDPATH=/tmp
rake build
When it attempts to `cd src`, it will go to `/tmp/src` instead of the
correct place in this tree.
Examples of this bug have appeared in #56, #572, and #852.
Closes#947.
- `cin` and `cout` require iostream.
- `QT_VERSION` requires QtGlobal.
- `QSocketNotifier` requires QSocketNotifier.
- Unrelated to includes: let Qt figure out the spec.
Found by Jeremy Evans on behalf of the OpenBSD project.
This allows one to specify the include and lib paths for gl and zlib.
Example:
gem install capybara-webkit -- \
--with-gl-dir=/nix/store/1sw1cyny213ih9dpdsq8h2kwqaqcm6vp-mesa-10.2.9 \
--with-zlib-dir=/nix/store/cb649pfdf14335d07jcfmsik7a1rsgbf-zlib-1.2.8
Fixes#695