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 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-12 23:20 UTC by Byron Young
Modified: 2014-09-27 19:57 UTC (History)
1 user (show)

See Also:


Attachments
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.

Example:
pkg_add -d

would output

i386/packages-9.0-release

on an i386 9.0-RELEASE machine.

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

Fix: No problem to fix!

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