From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 18:13:04 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 B20A4EA2 for ; Sat, 5 Apr 2014 18:13:04 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.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 73A01D5A for ; Sat, 5 Apr 2014 18:13:04 +0000 (UTC) Received: from r56.edvax.de (port-92-195-59-93.dynamic.qsc.de [92.195.59.93]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 84D6724C98; Sat, 5 Apr 2014 20:12:56 +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 s35IBpZH003005; Sat, 5 Apr 2014 20:11:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 5 Apr 2014 20:11:51 +0200 From: Polytropon To: Michael Sierchio Subject: Re: Mixing ports and pkgng Message-Id: <20140405201151.4a4d629b.freebsd@edvax.de> In-Reply-To: References: <288ED0D5-A931-4F15-98F7-8C0758981683@gmail.com> 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: Matthew Pherigo , FreeBSD Questions 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: Sat, 05 Apr 2014 18:13:04 -0000 On Sat, 5 Apr 2014 11:07:25 -0700, Michael Sierchio wrote: > On Sat, Apr 5, 2014 at 10:30 AM, Matthew Pherigo wrote: > >... > > > if I change the options for package A, but leave its dependencies B and C > > alone, is there any ports management program that will automatically > > recognize this and use pkgng for B and C, but compile A from source? > > > > I'd just install package A, which installs dependencies, then make the port > with the appropriate options, make package, then force the install. > > Crude but almost always effective. Alternative, probably even more crude: 1) install A via pkg and let it install B and C as depedencies 2) go to /usr/ports/bla/A, run "make configure" and set your options 3) run "make deinstall; make reinstall" Or probably worse (which I did): 1) go to /usr/ports/bla/A, run "make configure" and set your options 2) run "make missing", reformat output and pipe it to pkg so those get installed (here: B and C will be on the list) 3) run "make install" In case the changed options would require a rebuild of B or C, which _can_ happen, they will be rebuilt as it is needed, but only in _that_ case. And finally: Prepare for problems when trying to use pkg's binary upgrading mechanism. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...