From 318e2e53f0ff6c466f781378bbacea3e2b8dd8bb Mon Sep 17 00:00:00 2001 From: Akemi Date: Sat, 7 Oct 2017 22:18:22 +0200 Subject: [PATCH] osx: add right MacPorts paths to our bundle $PATH also add another path for homebrew. --- osdep/macosx_application.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index c5540494e4..17ccacec56 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -266,8 +266,9 @@ static void setup_bundle(int *argc, char *argv[]) NSString *path_new = [NSString stringWithFormat:@"%@:%@:%@:%@", path_bundle, @"/usr/local/bin", - @"/usr/opt/bin", - @"/usr/opt/local/bin"]; + @"/usr/local/sbin", + @"/opt/local/bin", + @"/opt/local/sbin"]; setenv("PATH", [path_new UTF8String], 1); setenv("MPVBUNDLE", "true", 1); }