[MacPorts] #71984: Issues with 'MANPATH', and [the lack of a macport for] 'whereis'
MacPorts
noreply at macports.org
Sat Feb 1 14:37:11 UTC 2025
#71984: Issues with 'MANPATH', and [the lack of a macport for] 'whereis'
---------------------------+--------------------
Reporter: seamusdemora | Owner: (none)
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
---------------------------+--------------------
Comment (by ryandesign):
I can confirm your results from typing `whereis rsync` on my macOS 12
machine. I don't know if the result is expected or if there is a way to
get it to give the different result you wanted.
The ports web site agrees that there is no port that installs `whereis`:
https://ports.macports.org/search/?installed_file=&q=whereis
It seems that util-linux contains an implementation of `whereis`, however
the port does not install it. The util-linux configure script does have a
`--disable-whereis` option but the portfile isn't using it so it's not
obvious to me why it isn't being built.
The port also does not install several other utilities, and does use the
corresponding `--disable-*` flags for those. I assume the reason is that
those other utilities either don't work on or aren't needed on macOS.
Maybe disabling one of those is what's causing `whereis` also to be
disabled.
If you think having a version of `whereis` in MacPorts offers something
that the macOS version doesn't, you could contribute either a fix to util-
linux to let it install this utility or write a new port if there is yet
another implementation somewhere that you think is better.
--
Ticket URL: <https://trac.macports.org/ticket/71984#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list