From owner-freebsd-ports@FreeBSD.ORG Sat Jan 5 07:58:19 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F239716A47A for ; Sat, 5 Jan 2008 07:58:19 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id DDC0113C447 for ; Sat, 5 Jan 2008 07:58:19 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id m057wIk9007184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 4 Jan 2008 23:58:18 -0800 X-Auth-Received: from [192.168.1.105] (c-76-22-52-184.hsd1.wa.comcast.net [76.22.52.184]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id m057wIPV009992 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 4 Jan 2008 23:58:18 -0800 In-Reply-To: <477F24D7.9080902@highperformance.net> References: <477B0EA4.1040401@highperformance.net> <477F24D7.9080902@highperformance.net> Mime-Version: 1.0 (Apple Message framework v753) X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1703BEC2-EC91-4277-852F-09A71280135D@u.washington.edu> Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Fri, 4 Jan 2008 23:58:28 -0800 To: "Jason C. Wells" X-Mailer: Apple Mail (2.753) X-PMX-Version: 5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.1.4.234451 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='BODY_SIZE_700_799 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: ports@freebsd.org Subject: Re: Port Version via pkg_add X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2008 07:58:20 -0000 On Jan 4, 2008, at 10:33 PM, Jason C. Wells wrote: > Jason C. Wells wrote: >> How does pkg_add determine what version of a port to add when >> 'pkg_add -Kr' is used? How can I make pkg_add use 6.3 packages >> instead of 6.2? > > Thank you for the previous replies. Now for a follow up. How do I > make pkg_add -K keep all dependencies as well as the target package > listed on the command line? > > For example: > > pkg_add -Kr gnash-0.8.1.tbz > > ... keeps only gnash and none of the other packages that get > downloaded. > > Thanks, > Jason C. Wells Please see my earlier post (November / December on hackers@?) where I provided a really simple pkg_add(1) patch that keeps all packages fetched with -K. -Garrett