diff options
author | Jamie Couture <jamie.couture@gmail.com> | 2014-09-09 21:39:01 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-09-21 19:52:36 +0200 |
commit | 0916d4f1f7d35bb7420054fd148be500a678ea91 (patch) | |
tree | cdbb2afcc584f8a62ff0bb0e24c85fb205b98c02 /Makefile | |
parent | 71a1618e6e49c22bb78ec8e7b164a41df5440a77 (diff) | |
download | pass-0916d4f1f7d35bb7420054fd148be500a678ea91.tar.gz pass-0916d4f1f7d35bb7420054fd148be500a678ea91.tar.bz2 pass-0916d4f1f7d35bb7420054fd148be500a678ea91.zip |
platform: find getopt in alternate osx locations
Some users may use MacPorts instead of Homebrew. If brew fails to
return a prefix for getopt, check if the user has 'port' installed and
use the MacPort ${prefix} /opt/local.
Avoids an issue where pass terminates because getopt cannot be resolved
in the assumed location /usr/local/bin. Provide support to resolve
absolute path of getopt from a MacPorts installation.
Signed-off-by: Jamie Couture <jamie.couture@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions