From owner-freebsd-ports@freebsd.org Thu Dec 7 13:33:17 2017 Return-Path: Delivered-To: freebsd-ports@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 50B77E86DBA for ; Thu, 7 Dec 2017 13:33:17 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [46.251.251.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "0x20.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 16883649FC for ; Thu, 7 Dec 2017 13:33:16 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from e.0x20.net (mail.0x20.net [46.251.251.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 6009CA9EFA; Thu, 7 Dec 2017 14:33:08 +0100 (CET) Received: (from lars@localhost) by e.0x20.net (8.15.2/8.15.2/Submit) id vB7DX88U017767; Thu, 7 Dec 2017 14:33:08 +0100 (CET) (envelope-from lars) Date: Thu, 7 Dec 2017 14:33:08 +0100 From: Lars Engels To: Matthias Apitz , freebsd-ports@freebsd.org Subject: Re: Flavors *COMPLETELY* break the port system (synth and poudriere are useless) Message-ID: <20171207133307.GT19238@e.0x20.net> References: <865f71f7-5d2d-90fd-8b41-c00d2317d083@rlwinm.de> <04c3f524-b594-078b-f28c-597c4da595e8@rlwinm.de> <20171207131444.GA36791@c720-r314251> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171207131444.GA36791@c720-r314251> X-Editor: VIM - Vi IMproved 8.0 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2017 13:33:17 -0000 On Thu, Dec 07, 2017 at 02:14:44PM +0100, Matthias Apitz wrote: > Sometimes I want to add some port which was not built with poudriere > directly compiling it on the target laptops and now, ofc, this > compilation is missing some other packages the concrete port is > depending on and it tries to build them too, even if they are already as > built package in my local repo. If I'm not lazy, I watch the building > and when it goes to look in Internet for some additional source to > build, I interrupt the 'make install' and look if I could install it from > the local repo. Boring. Can I direct the make process to look on the > flight into the local repo to satisfy the needs of the compilation of > the port? You can in the port's directory you can run "pkg install -A `make missing`. That should install missing dependencies as packages. Sometimes there are no packages for a dependecy then you can skip those: "pkg install -A `make missing | grep -v -e fooport -e barport`