From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-999458-garchives=archives.gentoo.org@lists.gentoo.org> 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 4E69B138331 for <garchives@archives.gentoo.org>; Wed, 24 Jan 2018 04:41:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58C3CE0908; Wed, 24 Jan 2018 04:41:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 34C78E0908 for <gentoo-commits@lists.gentoo.org>; Wed, 24 Jan 2018 04:41:18 +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 74B29335C4B for <gentoo-commits@lists.gentoo.org>; Wed, 24 Jan 2018 04:41:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 895EE1BD for <gentoo-commits@lists.gentoo.org>; Wed, 24 Jan 2018 04:41:14 +0000 (UTC) From: "Kent Fredric" <kentnl@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" <kentnl@gentoo.org> Message-ID: <1516768843.f77afa38d6f043304e1713d6a121b59539c0a4fe.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Quota/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Quota/Quota-1.7.2.ebuild X-VCS-Directories: dev-perl/Quota/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: f77afa38d6f043304e1713d6a121b59539c0a4fe X-VCS-Branch: master Date: Wed, 24 Jan 2018 04:41:14 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c1492bdf-8d13-4dad-b096-65df5b83a77b X-Archives-Hash: 6ed7bdb4c2ef928bf5fc18d714f6c9f2 commit: f77afa38d6f043304e1713d6a121b59539c0a4fe Author: Marcel Greter <marcel.greter <AT> ocbnet <DOT> ch> AuthorDate: Sat Jan 13 03:57:10 2018 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Wed Jan 24 04:40:43 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f77afa38 dev-perl/Quota: Fix linkage against libtirpc bug #644420 - add dependency to libtirpc - add minimal test case Closes: https://bugs.gentoo.org/644420 Closes: https://github.com/gentoo/gentoo/pull/6845 dev-perl/Quota/Quota-1.7.2.ebuild | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dev-perl/Quota/Quota-1.7.2.ebuild b/dev-perl/Quota/Quota-1.7.2.ebuild index 7e107a67f8f..74a17df08e4 100644 --- a/dev-perl/Quota/Quota-1.7.2.ebuild +++ b/dev-perl/Quota/Quota-1.7.2.ebuild @@ -14,6 +14,7 @@ IUSE="" RDEPEND=" sys-fs/quota[rpc] + net-libs/libtirpc " DEPEND="${RDEPEND} virtual/perl-ExtUtils-MakeMaker @@ -24,8 +25,20 @@ DIST_TEST=skip src_prepare() { default - export mymake="OPTIMIZE=$($(tc-getPKG_CONFIG) --cflags libtirpc)" + export mymake="INC=$($(tc-getPKG_CONFIG) --cflags libtirpc) OTHERLDFLAGS=$($(tc-getPKG_CONFIG) --libs libtirpc)" # disable AFS completely for now, need somebody who can really test it sed -i -e 's|-d "/afs"|0|' Makefile.PL || die "sed failed" } + +src_test() { + ebegin "Compile testing Quota ${PV}" + perl -Mblib="${S}" -M"Quota ${PV} ()" -e1 + if ! eend $?; then + echo + eerror "One or more modules failed compile:"; + eerror " Quota ${PV}" + die "Failing due to module compilation errors"; + fi + perl-module_src_test +}