Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0F19884D00 for ; Thu, 13 Jul 2023 13:14:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id meKNmZTiuZVg for ; Thu, 13 Jul 2023 13:14:41 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 80F2A84C13 for ; Thu, 13 Jul 2023 13:14:41 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 74B9AFBDB; Thu, 13 Jul 2023 13:14:41 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1689254081242990" MIME-Version: 1.0 Date: Thu, 13 Jul 2023 13:14:41 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/doc/guide/files To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20230713131441.74B9AFBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1689254081242990 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Thu Jul 13 13:14:41 UTC 2023 Modified Files: pkgsrc/doc/guide/files: fixes.xml Log Message: doc/guide: Remove description of GCC_REQD - mostly reverts r1.171. Requested by pkgsrc-pmc@. To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 pkgsrc/doc/guide/files/fixes.xml Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1689254081242990 Content-Disposition: inline Content-Length: 1768 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/doc/guide/files/fixes.xml diff -u pkgsrc/doc/guide/files/fixes.xml:1.184 pkgsrc/doc/guide/files/fixes.xml:1.185 --- pkgsrc/doc/guide/files/fixes.xml:1.184 Sat Apr 22 13:09:28 2023 +++ pkgsrc/doc/guide/files/fixes.xml Thu Jul 13 13:14:41 2023 @@ -1,4 +1,4 @@ - + Making your package work @@ -1440,26 +1440,6 @@ fortran77, java, objc, obj-c++, and ada. c. Packages using GNU configure scripts, even if written in C++, usually need a C compiler for the configure phase. - - To express a general requirement on a specific C or C++ - version, normally only GCC_REQD needs to be set. - For example, GCC 7 includes support for C++17, so if the package uses - C++17 it should specify: - - -GCC_REQD+= 7 - - - Language variants like c++11 for - USE_LANGUAGES should only be specified - if the package does not explicitly set -std=... - when compiling (i.e. the package assumes the compiler defaults to - C++11 or some other standard). This is usually a bug in the - upstream build system. - - GCC version 5 includes support for C++14, while GCC 4.7 includes - more-or-less complete support for C++11. For more information, consult - GCC's own documentation on programming language support. --_----------=_1689254081242990--