From owner-freebsd-questions@FreeBSD.ORG Sun Mar 23 14:28:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B278DDBC for ; Sun, 23 Mar 2014 14:28:05 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6746BE8C for ; Sun, 23 Mar 2014 14:28:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s2NES44d034147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 23 Mar 2014 08:28:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s2NES3ZJ034144; Sun, 23 Mar 2014 08:28:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 23 Mar 2014 08:28:03 -0600 (MDT) From: Warren Block To: Darrell Betts Subject: Re: Using pkg with build options In-Reply-To: <372190939.49499.1395582789284.JavaMail.mail@webmail12> Message-ID: References: <372190939.49499.1395582789284.JavaMail.mail@webmail12> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 23 Mar 2014 08:28:04 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2014 14:28:05 -0000 On Sun, 23 Mar 2014, Darrell Betts wrote: > Currently have FreeBSD 9.2 installed. I would like to start using pkg > install but I can't find how to use it with build options like the old > make install clean method. Can anyone share a light on this? pkg(8) is a package database. It can use pre-built binary packages, but also works with ports. Just use the same standard port methods like 'make install clean', and avoid the pkg options that install pre-built packages like 'pkg install' or 'pkg upgrade'. To put it another way: using pkg(8) does not mean you are forced to use binary packages.