From owner-freebsd-ports@freebsd.org Tue Jul 18 07:28:42 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 B166AC7EA56 for ; Tue, 18 Jul 2017 07:28:42 +0000 (UTC) (envelope-from aehlig@linta.de) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9D39437A1 for ; Tue, 18 Jul 2017 07:28:42 +0000 (UTC) (envelope-from aehlig@linta.de) Received: by mailman.ysv.freebsd.org (Postfix) id 99820C7EA55; Tue, 18 Jul 2017 07:28:42 +0000 (UTC) Delivered-To: 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 972F5C7EA54 for ; Tue, 18 Jul 2017 07:28:42 +0000 (UTC) (envelope-from aehlig@linta.de) Received: from isilmar-4.linta.de (isilmar-4.linta.de [136.243.71.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55BB237A0 for ; Tue, 18 Jul 2017 07:28:41 +0000 (UTC) (envelope-from aehlig@linta.de) Received: by isilmar-4.linta.de (Postfix, from userid 10) id BB40C200886; Tue, 18 Jul 2017 07:28:38 +0000 (UTC) Received: from howard.linta.de by isilmar-4.linta.de with BSMTP; 18 Jul 2017 07:28:38 -0000 Received: by howard.linta.de (Postfix, from userid 1001) id 162CE6E3702; Tue, 18 Jul 2017 09:28:23 +0200 (CEST) Date: Tue, 18 Jul 2017 09:28:23 +0200 From: "Klaus T. Aehlig" To: Yuri Cc: "ports@freebsd.org" Subject: Re: Anybody knows how to patch tarballs that bazel extracts? Message-ID: <20170718072823.GB1276@howard.linta.de> References: <333c214c-4551-8f7d-9de4-ff4dabd33ab3@rawbw.com> <20170717073734.GC2012@howard.linta.de> <20170718063357.GA1276@howard.linta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170718063357.GA1276@howard.linta.de> User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2017 07:28:42 -0000 On Tue, Jul 18, 2017 at 08:33:57AM +0200, Klaus T. Aehlig wrote: > Actually, it is not that far in the future; in fact, event today, bazel's > cc_library rule accepts an .so in the sources attribute, making a work around > possible (patching WORKSPACE to point to a hand-crafted directory under WRKDIR > as a local_repository, with hand-crafted BUILD-files, essentially taking > things from ${LOCALBASE}). Related bazel issue: https://github.com/bazelbuild/bazel/issues/3402