1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

Baptiste Daroussin: 27431: _make: fix for FreeBSD

This commit is contained in:
Peter Stephenson 2009-11-24 15:46:54 +00:00
parent d81fb9f1a8
commit b7c0ab63f3
2 changed files with 11 additions and 2 deletions

View file

@ -193,7 +193,13 @@ else
then
parseMakefile $PWD < <(_call_program targets "$words[1]" -nsp --no-print-directory -f "$file" .PHONY 2> /dev/null)
else
parseMakefile $PWD < $file
case "$OSTYPE" in
freebsd*)
parseMakefile $PWD < <(_call_program targets "$words[1]" -nsp -f "$file" .PHONY 2> /dev/null)
;;
*)
parseMakefile $PWD < $file
esac
fi
fi