Hi. When /usr/ports is populated,
Things that i have tried:
whereis
searchs for the specified port in /usr/ports/ but i don't have /usr/ports populated and i have a ports tree in a different directory: /poudriere/ports/default. I couldn't find a proper whereis
command to search for ports in that directory. I can use find
as an alternative but i would like to use whereis
for that. find /poudriere/ports/default/ -name portname
Things that i have tried:
# whereis
usage: whereis [-abmqsux] [-BMS dir ... -f] program ...
root@desktop /home/yusuf # whereis -s -S /poudriere/ports/default/ -f doas
doas:
root@desktop /home/yusuf # whereis -a -S /poudriere/ports/default/ -f doas
doas: /usr/local/bin/doas /usr/local/share/man/man1/doas.1.gz
root@desktop /home/yusuf # whereis -a -B /poudriere/ports/default/ -f doas
doas: /usr/local/share/man/man1/doas.1.gz
root@desktop /home/yusuf # whereis -a -M /poudriere/ports/default/ -f doas
doas: /usr/local/bin/doas
root@desktop /home/yusuf #