From owner-freebsd-questions@FreeBSD.ORG Sun Mar 23 14:02:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15CF5F48 for ; Sun, 23 Mar 2014 14:02:13 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CD887C90 for ; Sun, 23 Mar 2014 14:02:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-67-138.dynamic.qsc.de [92.195.67.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 0478A249FA; Sun, 23 Mar 2014 15:02:09 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s2NE1ipV002767; Sun, 23 Mar 2014 15:01:44 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 23 Mar 2014 15:01:44 +0100 From: Polytropon To: betts@norden1.com Subject: Re: Using pkg with build options Message-Id: <20140323150144.029c571e.freebsd@edvax.de> In-Reply-To: <372190939.49499.1395582789284.JavaMail.mail@webmail12> References: <372190939.49499.1395582789284.JavaMail.mail@webmail12> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2014 14:02:13 -0000 On Sun, 23 Mar 2014 13:53:09 +0000 (UTC), 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? Basically, you cannot do this. The new pkg obsoletes the traditional pkg_* tools which operate on binary packages which get built (by FreeBSD build systems) using the corresponding port's default settings. If you need to use custom-configured packages (build via "make install clean" or using a port management tool such as portmaster), this does currently not integrate that well with pkg. However, "poudriere" is a solution: You build packages with your own options and can _then_ use that package source with pkg. Here's a summary: https://wiki.freebsd.org/PkgPrimer -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...