Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/qmail-autoresponder/
Date: Mon, 18 Feb 2019 21:00:43
Message-Id: 1550523618.674c26ca8fd885341bfa3eebf72fa2e6d710b247.grknight@gentoo
1 commit: 674c26ca8fd885341bfa3eebf72fa2e6d710b247
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 18 21:00:18 2019 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 18 21:00:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=674c26ca
7
8 net-mail/qmail-autoresponder: Revbump for EAPI and dependency change
9
10 Non-maintainer commit
11
12 Bug: https://bugs.gentoo.org/665998
13 Package-Manager: Portage-2.3.61, Repoman-2.3.12
14 Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
15
16 ...2.ebuild => qmail-autoresponder-0.97-r3.ebuild} | 23 +++++++++++-----------
17 1 file changed, 12 insertions(+), 11 deletions(-)
18
19 diff --git a/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r2.ebuild b/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r3.ebuild
20 similarity index 68%
21 rename from net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r2.ebuild
22 rename to net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r3.ebuild
23 index 6950af0af69..d27b7bd9ce5 100644
24 --- a/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r2.ebuild
25 +++ b/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r3.ebuild
26 @@ -1,9 +1,9 @@
27 -# Copyright 1999-2014 Gentoo Foundation
28 +# Copyright 1999-2019 Gentoo Authors
29 # Distributed under the terms of the GNU General Public License v2
30
31 -EAPI="2"
32 +EAPI=7
33
34 -inherit toolchain-funcs eutils multilib
35 +inherit toolchain-funcs
36
37 DESCRIPTION="Rate-limited autoresponder for qmail"
38 HOMEPAGE="http://untroubled.org/qmail-autoresponder/"
39 @@ -15,7 +15,7 @@ KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
40 IUSE="mysql"
41
42 DEPEND=">=dev-libs/bglibs-1.106
43 - mysql? ( virtual/mysql )"
44 + mysql? ( dev-db/mysql-connector-c:0= )"
45 RDEPEND="
46 ${DEPEND}
47 virtual/qmail
48 @@ -23,14 +23,15 @@ RDEPEND="
49 "
50
51 src_prepare() {
52 - use mysql || epatch "${FILESDIR}/${PN}-0.97-remove-mysql.h.diff"
53 + use mysql || eapply "${FILESDIR}/${PN}-0.97-remove-mysql.h.diff"
54 + default
55 }
56
57 src_configure() {
58 - echo "/usr/include/bglibs" > conf-bgincs
59 - echo "/usr/$(get_libdir)/bglibs" > conf-bglibs
60 - echo "$(tc-getCC) ${CFLAGS}" > conf-cc
61 - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
62 + echo "/usr/include/bglibs" > conf-bgincs || die
63 + echo "/usr/$(get_libdir)/bglibs" > conf-bglibs || die
64 + echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
65 + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
66 }
67
68 src_compile() {
69 @@ -42,10 +43,10 @@ src_compile() {
70 }
71
72 src_install () {
73 - dobin qmail-autoresponder || die
74 + dobin qmail-autoresponder
75 doman qmail-autoresponder.1
76 if use mysql; then
77 - dobin qmail-autoresponder-mysql || die
78 + dobin qmail-autoresponder-mysql
79 dodoc schema.mysql
80 fi