From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Quota/
Date: Wed, 24 Jan 2018 04:41:14 +0000 (UTC) [thread overview]
Message-ID: <1516768843.f77afa38d6f043304e1713d6a121b59539c0a4fe.kentnl@gentoo> (raw)
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
+}
next reply other threads:[~2018-01-24 4:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-24 4:41 Kent Fredric [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-27 14:09 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Quota/ Andreas K. Hüttel
2021-11-27 14:09 Andreas K. Hüttel
2021-08-02 21:17 Andreas K. Hüttel
2018-02-11 10:36 Michał Górny
2018-01-24 4:43 Kent Fredric
2017-11-01 21:18 Andreas Hüttel
2017-09-18 16:50 Kent Fredric
2017-09-10 20:48 Patrice Clement
2017-05-20 23:04 Kent Fredric
2016-04-30 22:05 Andreas Hüttel
2015-10-29 16:11 Ian Delaney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1516768843.f77afa38d6f043304e1713d6a121b59539c0a4fe.kentnl@gentoo \
--to=kentnl@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox