1 |
commit: 1259579a303b3397efa95e9868c02d17d601d524 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 1 21:18:30 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 1 21:18:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1259579a |
7 |
|
8 |
dev-perl/Quota: Fix build with glibc-2.26, bug 630568 |
9 |
|
10 |
Not sure if this is complete though... it compiles, but does it run? |
11 |
|
12 |
Closes: https://bugs.gentoo.org/630568 |
13 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
14 |
|
15 |
dev-perl/Quota/Quota-1.7.2.ebuild | 13 +++++++++---- |
16 |
1 file changed, 9 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/dev-perl/Quota/Quota-1.7.2.ebuild b/dev-perl/Quota/Quota-1.7.2.ebuild |
19 |
index 9b1c897be01..7e107a67f8f 100644 |
20 |
--- a/dev-perl/Quota/Quota-1.7.2.ebuild |
21 |
+++ b/dev-perl/Quota/Quota-1.7.2.ebuild |
22 |
@@ -1,10 +1,10 @@ |
23 |
-# Copyright 1999-2016 Gentoo Foundation |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=6 |
28 |
|
29 |
DIST_AUTHOR=TOMZO |
30 |
-inherit perl-module |
31 |
+inherit perl-module toolchain-funcs flag-o-matic |
32 |
|
33 |
DESCRIPTION="Perl interface to file system quotas" |
34 |
|
35 |
@@ -12,14 +12,19 @@ SLOT="0" |
36 |
KEYWORDS="~amd64" |
37 |
IUSE="" |
38 |
|
39 |
-RDEPEND="" |
40 |
-DEPEND="virtual/perl-ExtUtils-MakeMaker" |
41 |
+RDEPEND=" |
42 |
+ sys-fs/quota[rpc] |
43 |
+" |
44 |
+DEPEND="${RDEPEND} |
45 |
+ virtual/perl-ExtUtils-MakeMaker |
46 |
+" |
47 |
|
48 |
# Tests need real FS access/root permissions and are interactive |
49 |
DIST_TEST=skip |
50 |
|
51 |
src_prepare() { |
52 |
default |
53 |
+ export mymake="OPTIMIZE=$($(tc-getPKG_CONFIG) --cflags libtirpc)" |
54 |
|
55 |
# disable AFS completely for now, need somebody who can really test it |
56 |
sed -i -e 's|-d "/afs"|0|' Makefile.PL || die "sed failed" |