lol

qt59.qtbase: replace `type` with `command` for POSIX compatibility

+2 -2
+2 -2
pkgs/development/libraries/qt-5/5.9/qtbase.patch
··· 674 674 675 675 check_examples { 676 676 diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf 677 - index c00fdb73f8..6d8ba132cb 100644 677 + index c00fdb73f8..5789cd0c06 100644 678 678 --- a/mkspecs/features/qt_functions.prf 679 679 +++ b/mkspecs/features/qt_functions.prf 680 680 @@ -69,7 +69,7 @@ defineTest(qtHaveModule) { ··· 682 682 cmd = $$eval(QT_TOOL.$${2}.binary) 683 683 isEmpty(cmd) { 684 684 - cmd = $$[QT_HOST_BINS]/$$2 685 - + cmd = $$system("type -p $$2") 685 + + cmd = $$system("command -v $$2") 686 686 exists($${cmd}.pl) { 687 687 $${1}_EXE = $${cmd}.pl 688 688 cmd = perl -w $$system_path($${cmd}.pl)