mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
b7f4bda282
If these aren't defined, the stdenv defaults are used in the `*Phase` case, or no extra phases are done, in the `*Phases` case.
20 lines
403 B
Bash
20 lines
403 B
Bash
export IMAKECPP="@tradcpp@/bin/tradcpp"
|
|
|
|
imakeConfigurePhase() {
|
|
runHook preConfigure
|
|
|
|
echoCmd 'configuring with imake'
|
|
|
|
if [ -z "${imakefile:-}" -a ! -e Imakefile ]; then
|
|
echo "no Imakefile, doing nothing"
|
|
else
|
|
xmkmf -a
|
|
fi
|
|
|
|
runHook postConfigure
|
|
}
|
|
|
|
if [ -z "${dontUseImakeConfigure-}" -a -z "${configurePhase-}" ]; then
|
|
configurePhase=imakeConfigurePhase
|
|
fi
|