Bug 12570

Summary: No way to keep pkg_add from installing prerequisite
Product: Base System Reporter: Mark Diekhans <markd>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Mark Diekhans 1999-07-09 10:00:01 UTC
    pkg_add just goes ahead and installs prerequisite if it can find them.  Especially
    likely if -r is specified.  While this is a great default, sometimes one doesn't
    want a package dragging down 3/4 of the world.  An option is needed to disable this.
    A patch is enclosed that add a -N option to disable this feature.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 1999-07-09 13:05:34 UTC
State Changed
From-To: open->feedback

Have a look at pkg_add's existing -n and -f options and let me know 
whether you still think we need your proposed option, which seems 
unnecessary to me. 

Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 1999-07-09 17:36:17 UTC
State Changed
From-To: feedback->open

I don't think this is a useful addition, but the submitter would like the  
PR to remain open for a second opinion. :-) 
Comment 3 Nick Hibma freebsd_committer freebsd_triage 1999-07-24 18:02:40 UTC
State Changed
From-To: open->closed

Fetch the package by hand and use the -f option would do the same. 
I don't think installing a package without the prerequisites makes sense, but 
if you want to do it, this is a way to do it.