From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 04FE61386F3 for ; Fri, 14 Aug 2015 03:37:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00979141FE; Fri, 14 Aug 2015 03:37:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 69EEC141FE for ; Fri, 14 Aug 2015 03:37:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 513F8340860 for ; Fri, 14 Aug 2015 03:37:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99C0A149 for ; Fri, 14 Aug 2015 03:37:24 +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: <1439523434.6c0c6d42aaef3f7144fffb1612e5bc056aac5aa9.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/passwdqc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/passwdqc/passwdqc-1.3.0.ebuild X-VCS-Directories: sys-auth/passwdqc/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 6c0c6d42aaef3f7144fffb1612e5bc056aac5aa9 X-VCS-Branch: master Date: Fri, 14 Aug 2015 03:37:24 +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-Archives-Salt: 4413b14b-cf71-4138-8a71-a9f72bf70fa8 X-Archives-Hash: 4cf3b98a7308e005a389b5663e1d9a82 commit: 6c0c6d42aaef3f7144fffb1612e5bc056aac5aa9 Author: Mike Frysinger gentoo org> AuthorDate: Fri Aug 14 03:37:14 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Fri Aug 14 03:37:14 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c0c6d42 sys-auth/passwdqc: add a compile test for shadow.h #554504 sys-auth/passwdqc/passwdqc-1.3.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys-auth/passwdqc/passwdqc-1.3.0.ebuild b/sys-auth/passwdqc/passwdqc-1.3.0.ebuild index c7c1dae..6dc2703 100644 --- a/sys-auth/passwdqc/passwdqc-1.3.0.ebuild +++ b/sys-auth/passwdqc/passwdqc-1.3.0.ebuild @@ -27,6 +27,11 @@ src_prepare() { sed -i \ -e 's:`uname -s`:Linux:' \ Makefile || die + # See if the system has a shadow.h. #554504 + echo '#include ' > "${T}"/test.c + if ! $(tc-getCPP) ${CPPFLAGS} "${T}"/test.c >& /dev/null ; then + sed -i -e 's:-DHAVE_SHADOW::' Makefile || die + fi } _emake() {