From nobody Wed Jul 12 20:28:01 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R1Tpn5tKQz4mrMr; Wed, 12 Jul 2023 20:28:49 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R1Tpn5NBTz3swP; Wed, 12 Jul 2023 20:28:49 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689193729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BozOFh5icJJz/BkdkKXpBSMkbTs0JrEkWzkFgLiiff0=; b=uzyuEJ+ozUxJQosRI8RrVsU2xkzL7hwiEpXBjZydA64sGRgm6J7c4VeXI3WYOeVuFuSrBY 2ZrDRBtD2GB1Z6Uh9H2MPeYqwYOJFDgHhvlt+Ws2892Ze9DypH//9KaZK/PjYMHx4U+P9w HbR1wAOsfrtbATovf/RJrZ4n/QN+qXJTDNicfme0LxmCwghRm93o5v/MYzZPQkjQdaSNCJ TWrASRatpyVV2mW7YD62THlMp7kb3BUSfFyYtFgy5YFYYYPiuIS2H0OmqKzk/a1guNggyu 0PAVxOUaLFHyDE20uMojQYkKNsO4IFUrm7nsHHm8YRLdhoBwYP3ig2b8F+YWfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689193729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BozOFh5icJJz/BkdkKXpBSMkbTs0JrEkWzkFgLiiff0=; b=L9yZc4vZ6i4QTzFJoSPlpXTsbbRWrR5QyCRAtoM5GssBIwgwri5iBbTzIinko+0v3/WSF4 gNglAPkhYo0Tt3lObYiyQzXnTxPoS7XcYsjuwpI1b/K9ZX6QBvgPPPx/v6X88R6oiOQbho g48F7y0dj1QIjeHEjZ9djt9VZRxl7jlRRVoBVQ8hOU53OCk/Hl8TdE+36fsGzENufAxXMM Wm7ML5rHeOmjgvzUrgiSmA6xZnBTkilWyA+mClQTuwUxN6m5eJacjTa0p2iQH6JGTOlRSs pqcBIf2CpbFExhS1MWOrFhmBBxlkA+fC5dKZZjDITWpvSP9bMe9mK0qOwwgFeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689193729; a=rsa-sha256; cv=none; b=K/YWQHFAQ4k0J0ZBNrO40ZVw0aeoK9eLU7rLpVwmhGswABGRbXojp9Y65xpy40Cmsufd+y KHmGoa8RMTKWPWd8iq2b0G8jub5OnMPK0QXrI3n26tJOFV5rlLTqwZ38F5sH4MbPjKk5ng bp5vjJFVClPg8Bbozne61nxNVofce31ZaZA9Z/eoILvP6YuFtEJdZNqxDrvR97iQaabVDH IYtjnQw//qORz3DIM3ARrLHaVhCZiLcV62cq5DzgNpQ6TuC627lb/nSkby4bthgm8TCMuJ FQwPs5nmcByZ1fynexB31QxMqdlbb2mPYxCaNfz2nSI6v3TrQ4vGshz0pZ5GEw== Received: from localhost.localdomain (dhcp-077-248-016-223.chello.nl [77.248.16.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: rakuco/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4R1Tpm6zQzz11xR; Wed, 12 Jul 2023 20:28:48 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Message-ID: Subject: Re: git: b56d0bc41af7 - main - devel/libcutl: Explain why USE_CXXSTD=c++11 is used From: Raphael Kubo da Costa To: "Hurling, Rainer" Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Date: Wed, 12 Jul 2023 22:28:01 +0200 In-Reply-To: <8a1b8efc-9d27-4860-7cfe-30b5514b280d@gwdg.de> References: <202307050850.3658oPOA049562@gitrepo.freebsd.org> <6cf6a5eb00dfac8358dfcb1e1d5b69f293c3e85a.camel@FreeBSD.org> <4701f862-7a0b-afab-48fd-a62b6f5ec308@gwdg.de> <5bd4df5587c773d3e8916fe64d093f2b96e67e24.camel@FreeBSD.org> <8a1b8efc-9d27-4860-7cfe-30b5514b280d@gwdg.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N On Tue, 2023-07-11 at 20:43 +0200, Rainer Hurling wrote: > And, this also means that USES=3Dcompiler:C++11-lang provides anything > gcc=20 > specific? Then it would also be unnecessary to use USE_CXXSTD=3Dgnu++11 > instead of USE_CXXSTD=3Dc++11? >=20 > Sorry if this should have been clarified already and I just didn't=20 > understand it yet. Don't worry, the logic in Uses/compiler.mk is confusing to me too :-) The c++NN vs gnu++NN difference is usually not noticeable as far as I know so either one works regardless of whether the port is being built with GCC or Clang. As for the compiler.mk arguments, my understanding of c++11-lang means "this port needs a compiler that supports C++11, but not necessarily a standard library compatible with C++11". The ports infrastructure then finds a suitable compiler by checking ${CXX} and falling back to some devel/llvm* port or lang/gcc* depending on architecture and $FAVORITE_COMPILER. USES=3Dcompiler:c++11-lang does not provide anything GCC-specific.