looking for port origin for executable

Michael Gmelin freebsd at grem.de
Wed May 5 19:12:34 UTC 2021



> On 5. May 2021, at 20:25, Christian Weisgerber <naddy at mips.inka.de> wrote:
> 
> On 2021-05-04, Robert Huff <roberthuff at rcn.com> wrote:
> 
>>    Would some kind soul please tell me which port installs the
>> executable "g-ir-scanner"?  I was purging unused ports and seem to
>> have done this one by mistake.
> 
> pkg-which(1)
> 
> $ pkg which /usr/local/bin/g-ir-scanner
> /usr/local/bin/g-ir-scanner was installed by package gobject-introspection-1.66.1,1
> 

This only works if the package it came from is still installed. Robert was trying to find the package that will give him that file, as he deleted that package by accident.

Best
Michael

> -- 
> Christian "naddy" Weisgerber                          naddy at mips.inka.de
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



More information about the freebsd-ports mailing list