From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 947DC158099 for ; Fri, 1 Dec 2023 11:22:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAF5D2BC01E; Fri, 1 Dec 2023 11:22:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5FE42BC01E for ; Fri, 1 Dec 2023 11:22:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 16832335D6E for ; Fri, 1 Dec 2023 11:22:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F3AAA66 for ; Fri, 1 Dec 2023 11:22:20 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1701429736.08eba8565709719f041022c35b828a9b7d5d1b70.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/tin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-nntp/tin/tin-2.6.2-r1.ebuild X-VCS-Directories: net-nntp/tin/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 08eba8565709719f041022c35b828a9b7d5d1b70 X-VCS-Branch: master Date: Fri, 1 Dec 2023 11:22:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 948e7304-2c31-4eb0-9daf-8d3c79c542d8 X-Archives-Hash: 40d92ad45b5279763c9ad0e12864d3da commit: 08eba8565709719f041022c35b828a9b7d5d1b70 Author: Mike Frysinger gentoo org> AuthorDate: Fri Dec 1 11:18:46 2023 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Fri Dec 1 11:22:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08eba856 net-nntp/tin: fix build when $CPPFLAGS is set The configure script defaults BUILD_CPPFLAGS to $CPPFLAGS, and if that is set, omits a required -I$srcdir/include flag from the build causing it to not find local tin.h headers. Append it ourselves. Signed-off-by: Mike Frysinger gentoo.org> net-nntp/tin/tin-2.6.2-r1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net-nntp/tin/tin-2.6.2-r1.ebuild b/net-nntp/tin/tin-2.6.2-r1.ebuild index c550f29e48bd..631a6ec8091d 100644 --- a/net-nntp/tin/tin-2.6.2-r1.ebuild +++ b/net-nntp/tin/tin-2.6.2-r1.ebuild @@ -52,6 +52,11 @@ src_configure() { tc-export AR CC RANLIB tc-export_build_env + # The build incorrectly discards its local -I if $CPPFLAGS is set. + if [[ -n ${BUILD_CPPFLAGS} ]]; then + BUILD_CPPFLAGS+=' -I$(INCDIR)' + fi + local myeconfargs=( $(use_enable cancel-locks) $(use_with cancel-locks canlock)