View Single Post
  #2   (View Single Post)  
Old 3rd June 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 7,093

You can switch any installed package from "manually installed" to "automatically installed" with the -aa flag of pkg_add(1).

From the man page:
   Manual installation
     pkg_add differentiates between packages specified on the command line,
     and packages installed automatically because of inter-dependencies: the
     first kind will be tagged as `installed manually'.  The -a option is used
     internally by the ports(7) infrastructure and dpb(1) to handle

     It is also possible to tweak the `installed manually' status of a package
     after the fact.  Running pkg_add on an already installed package will tag
     it as `installed manually', even if it was already there as a dependency
     of something else, and doubling the -a option will remove the `installed
     manually' tag from installed packages.
Reply With Quote