From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 16:23:16 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 0D28A7BE for ; Wed, 25 Jun 2014 16:23:16 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C4ADE2A30 for ; Wed, 25 Jun 2014 16:23:15 +0000 (UTC) Received: from r56.edvax.de (port-92-195-64-166.dynamic.qsc.de [92.195.64.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 601013CDE5; Wed, 25 Jun 2014 18:23:12 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s5PGNBXF003607; Wed, 25 Jun 2014 18:23:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 25 Jun 2014 18:23:11 +0200 From: Polytropon To: Robert Fitzpatrick Subject: Re: Config options with pkg Message-Id: <20140625182311.58bceb95.freebsd@edvax.de> In-Reply-To: <53AAF2C8.7010507@webtent.org> References: <53AAF2C8.7010507@webtent.org> Reply-To: Polytropon 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 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2014 16:23:16 -0000 On Wed, 25 Jun 2014 12:03:20 -0400, Robert Fitzpatrick wrote: > I don't do a lot of upgrades or installs, so my use of the new pkg way > of doing things is limited right now. I've been trying to find > instructions for how to configure options for packages. Right now I'm > dealing with a new install of Postfix and trying to get LDAP support. Of > course, I can move into the ports directory for the package and 'make > config', but get the warning that I should use pkg. Can someone point me > to the instruction I'm lacking for this or suggest how to configure > package options with pkg? You can't configure options for precompiled binary packages. They have been built using the default settings (as a "make" without changing displayed the options of "make config" would create). Your only chance is to a) find a package that impelements your desired options, it might exist, but likely will not, or b) built it yourself using the ports tree as usual. You can deal with dependencies by feeding the preocessed output of "make missing" to "pkg install -y" so you don't have to build all the dependencies, but depending on your desired configuration, this could also be a problem (when a dependency needs other than the default options due to your "main port" setting non-default options). There are tools to help you build "bigger piles" of software (see the handbook entrie for "poudriere"), but if you're going to have only a few ports with non-default options and want to use binary packages for everything else, using the "old-fashioned way" of building from source for those few entries is probably the more comfortable way. https://wiki.freebsd.org/PkgPrimer http://www.freebsd.org/doc/handbook/ports-poudriere.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...