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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AD73C138334 for ; Wed, 13 Feb 2019 15:14:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5400E0887; Wed, 13 Feb 2019 15:14:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C36C5E0887 for ; Wed, 13 Feb 2019 15:14:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 919BA340F28 for ; Wed, 13 Feb 2019 15:14:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CFA8540 for ; Wed, 13 Feb 2019 15:14:07 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1550070829.5412d11adaa4a0862e6ab5228f76c6ce9484297e.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/policyd/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/policyd/policyd-1.82-r2.ebuild mail-filter/policyd/policyd-1.82-r3.ebuild X-VCS-Directories: mail-filter/policyd/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 5412d11adaa4a0862e6ab5228f76c6ce9484297e X-VCS-Branch: master Date: Wed, 13 Feb 2019 15:14:07 +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: 5a34c012-9a12-45b8-9fda-6a7eafbb7dd6 X-Archives-Hash: 6c7c885f3b01491f1f2319ab0959a2de commit: 5412d11adaa4a0862e6ab5228f76c6ce9484297e Author: Brian Evans gentoo org> AuthorDate: Wed Feb 13 15:13:49 2019 +0000 Commit: Brian Evans gentoo org> CommitDate: Wed Feb 13 15:13:49 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5412d11a mail-filter/policyd: Update dependency, EAPI and make verbose Non-maintainer commit Bug: https://bugs.gentoo.org/665916 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Brian Evans gentoo.org> .../{policyd-1.82-r2.ebuild => policyd-1.82-r3.ebuild} | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/mail-filter/policyd/policyd-1.82-r2.ebuild b/mail-filter/policyd/policyd-1.82-r3.ebuild similarity index 87% rename from mail-filter/policyd/policyd-1.82-r2.ebuild rename to mail-filter/policyd/policyd-1.82-r3.ebuild index 1e145672a00..0d1be22af1b 100644 --- a/mail-filter/policyd/policyd-1.82-r2.ebuild +++ b/mail-filter/policyd/policyd-1.82-r3.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI="7" -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Policy daemon for postfix and other MTAs" HOMEPAGE="http://policyd.sf.net/" @@ -14,15 +14,19 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~hppa ~x86" IUSE="libressl" -DEPEND="virtual/mysql +DEPEND="dev-db/mysql-connector-c:0= !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= )" RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}/${PN}-post182.patch" + "${FILESDIR}/${PN}-makefile.patch" +) + src_prepare() { - epatch "${FILESDIR}/${PN}-post182.patch" - epatch "${FILESDIR}/${PN}-makefile.patch" - sed -i -e "s/gcc/$(tc-getCC)/" Makefile + default + sed -i -e 's/@${CC}/${CC}/' -e 's/@$(CC)/$(CC)/' Makefile ebegin "Applying config patches" sed -i -e s:UID=0:UID=65534:g \ @@ -35,7 +39,7 @@ src_prepare() { } src_compile() { - emake build || die "emake build failed" + emake CC=$(tc-getCC) build } src_install() {