From owner-freebsd-ports@freebsd.org  Thu Dec 12 15:42:11 2019
Return-Path: <owner-freebsd-ports@freebsd.org>
Delivered-To: freebsd-ports@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9D3561D4E87
 for <freebsd-ports@mailman.nyi.freebsd.org>;
 Thu, 12 Dec 2019 15:42:11 +0000 (UTC) (envelope-from lars@e.0x20.net)
Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3])
 by mx1.freebsd.org (Postfix) with ESMTP id 47YdMl20Lpz3JLZ
 for <freebsd-ports@freebsd.org>; Thu, 12 Dec 2019 15:42:11 +0000 (UTC)
 (envelope-from lars@e.0x20.net)
Received: by mailman.nyi.freebsd.org (Postfix)
 id 4476B1D4E86; Thu, 12 Dec 2019 15:42:11 +0000 (UTC)
Delivered-To: ports@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 443DC1D4E85
 for <ports@mailman.nyi.freebsd.org>; Thu, 12 Dec 2019 15:42:11 +0000 (UTC)
 (envelope-from lars@e.0x20.net)
Received: from mail.0x20.net (mail.0x20.net [46.251.251.56])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 47YdMj6z8fz3JLS
 for <ports@freebsd.org>; Thu, 12 Dec 2019 15:42:09 +0000 (UTC)
 (envelope-from lars@e.0x20.net)
Received: from e.0x20.net (mail.0x20.net [46.251.251.56])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (3096 bits) server-digest SHA256)
 (No client certificate requested)
 by mail.0x20.net (Postfix) with ESMTPS id 050B6BA042
 for <ports@freebsd.org>; Thu, 12 Dec 2019 16:42:08 +0100 (CET)
Received: (from lars@localhost)
 by e.0x20.net (8.15.2/8.15.2/Submit) id xBCFg7FX001758
 for ports@freebsd.org; Thu, 12 Dec 2019 16:42:07 +0100 (CET)
 (envelope-from lars)
Date: Thu, 12 Dec 2019 16:42:07 +0100
From: Lars Engels <lars.engels@0x20.net>
To: ports@freebsd.org
Subject: devel/llvm80 port on 12.1
Message-ID: <20191212154207.GL5400@e.0x20.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Editor: VIM - Vi IMproved 8.0
User-Agent: Mutt/1.12.2 (2019-09-21)
X-Rspamd-Queue-Id: 47YdMj6z8fz3JLS
X-Spamd-Bar: /
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=none (mx1.freebsd.org: domain of lars@e.0x20.net has no SPF policy when
 checking 46.251.251.56) smtp.mailfrom=lars@e.0x20.net
X-Spamd-Result: default: False [-0.84 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-0.94)[-0.938,0]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[];
 IP_SCORE(-0.20)[ip: (-0.96), ipnet: 46.251.251.0/24(-0.48), asn: 31400(0.47),
 country: DE(-0.02)]; MIME_GOOD(-0.10)[text/plain];
 TO_DN_NONE(0.00)[];
 PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; AUTH_NA(1.00)[];
 RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.91)[-0.910,0];
 DMARC_NA(0.00)[0x20.net]; R_SPF_NA(0.00)[];
 FORGED_SENDER(0.30)[lars.engels@0x20.net,lars@e.0x20.net];
 RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[];
 MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:31400, ipnet:46.251.251.0/24, country:DE];
 FROM_NEQ_ENVFROM(0.00)[lars.engels@0x20.net,lars@e.0x20.net];
 RCVD_TLS_ALL(0.00)[]
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Dec 2019 15:42:11 -0000

I'm trying reduce the size of the NomadBSD image and the biggest
installed package is devel/llvm80 with 848 MiB.
llvm80 is a dependency of graphics/mesa-dri which is needed for
x11-servers/xorg-server.

Looking at the llvm version of 12.1-RELEASE in base I see that it is the
same version like the installed port:

$ /usr/bin/clang --version
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd12.1
Thread model: posix
InstalledDir: /usr/bin

$ /usr/local/llvm80/bin/clang --version
clang version 8.0.1 (tags/RELEASE_801/final)
Target: x86_64-portbld-freebsd12.0
Thread model: posix
InstalledDir: /usr/local/llvm80/bin

So it looks like on 12.1 the mesa-dri port can use the base llvm instead
of the one from ports and save all people running Xorg almost 1 GB of
disk space?

-- 
Lars