Bug 173589 - [patch] pkg_install(8): usr.sbin/pkg_install/add
Summary: [patch] pkg_install(8): usr.sbin/pkg_install/add
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.1-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2012-11-12 23:20 UTC by Byron Young
Modified: 2014-09-27 19:57 UTC (History)
1 user (show)

See Also:

file.diff (2.79 KB, patch)
2012-11-12 23:20 UTC, Byron Young
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Byron Young 2012-11-12 23:20:00 UTC
pkg_add(1) contains logic to deduce the correct ports repository based
on machine architecture and OSVERSION. Adding a simple command line
switch (-d) would provide a consistent (with /usr/ports/Mk) means of
obtaining this information.

pkg_add -d

would output


on an i386 9.0-RELEASE machine.

NOTE: no additional correspondence required! Just delete when required.

Fix: No problem to fix!

Patch attached with submission follows:
How-To-Repeat: Not a problem report!
Comment 1 Bryan Drewery freebsd_committer 2014-09-27 19:57:54 UTC
pkg_add was removed from the base system.