From owner-freebsd-questions@freebsd.org Tue Jun 30 12:01:30 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 703AF9908EF for ; Tue, 30 Jun 2015 12:01:30 +0000 (UTC) (envelope-from freebsd@edvax.de) 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 3670810D2 for ; Tue, 30 Jun 2015 12:01:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-85-234.dynamic.qsc.de [92.195.85.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id ABAE53CEE3; Tue, 30 Jun 2015 14:01:19 +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 t5UC1JDS002517; Tue, 30 Jun 2015 14:01:19 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 30 Jun 2015 14:01:18 +0200 From: Polytropon To: Ewald Jenisch Cc: Subject: Re: Mix'n'match between packages an ports? Message-Id: <20150630140118.b6cb5381.freebsd@edvax.de> In-Reply-To: <20150630115303.GA1331@aurora.oekb.co.at> References: <20150630115303.GA1331@aurora.oekb.co.at> 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 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2015 12:01:30 -0000 On Tue, 30 Jun 2015 13:53:03 +0200, Ewald Jenisch wrote: > Here's my question: Is a "mix and match" between binary and > source-installation (pkg.. vs. "make / portupgrade") possible on the > same machine, or is it one or the other? > > Any experience with that? Caveats any? I suggest you make yourself familiar with Poudriere. It's a convenient way to build your own packages (from source) and then installing them with pkg (i. e., having your own package repository where dealing with custom compile-time options is much easier). https://www.freebsd.org/doc/handbook/ports-poudriere.html https://www.freebsd.org/cgi/man.cgi?query=poudriere&apropos=0&sektion=0&manpath=FreeBSD+9.2-RELEASE+and+Ports&arch=default&format=html Of course if you just need very few packages to compile from source, using portmaster or portupgrade is still possible. However, it might be neccessary to do the "lock / unlock" action with pkg on the course of updating. It's important to pay attention here - a custom package might be updated with a binary one with different options (as the binary packages are being built with the default options set by the maintainer). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...