public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/cyrus-imapd/
Date: Fri,  7 May 2021 14:38:22 +0000 (UTC)	[thread overview]
Message-ID: <1620398280.33f62c77eb8f4c280cf80a1e8cc8f8815055b2e4.sam@gentoo> (raw)

commit:     33f62c77eb8f4c280cf80a1e8cc8f8815055b2e4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May  7 13:58:25 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May  7 14:38:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33f62c77

net-mail/cyrus-imapd: move append-ldflags from pkg_setup->src_configure

Has no place on non-source builds.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-mail/cyrus-imapd/cyrus-imapd-3.0.15.ebuild | 13 +++++++------
 net-mail/cyrus-imapd/cyrus-imapd-3.4.0.ebuild  |  8 +++-----
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.0.15.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.0.15.ebuild
index 621e5456a13..aa2bb2f6608 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-3.0.15.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-3.0.15.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit autotools flag-o-matic pam ssl-cert
 
 DESCRIPTION="The Cyrus IMAP Server"
@@ -74,12 +75,7 @@ REQUIRED_USE="
 # TODO: check underlinking for other libraries
 PATCHES=(
 	"${FILESDIR}/cyrus-imapd-libcap-libs-r1.patch"
-	)
-
-pkg_setup() {
-	# https://bugs.gentoo.org/604466
-	append-ldflags $(no-as-needed)
-}
+)
 
 src_prepare() {
 	default
@@ -104,10 +100,15 @@ src_prepare() {
 
 src_configure() {
 	local myconf
+
+	# https://bugs.gentoo.org/604466
+	append-ldflags $(no-as-needed)
+
 	if use afs ; then
 		myconf+=" --with-afs-libdir=/usr/$(get_libdir)"
 		myconf+=" --with-afs-incdir=/usr/include/afs"
 	fi
+
 	# sphinx is unmaintained and dead, bug #662944
 	econf \
 		--enable-unit-tests \

diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.4.0.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.4.0.ebuild
index 3a9516d6cca..e5c77cc1573 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-3.4.0.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-3.4.0.ebuild
@@ -73,11 +73,6 @@ REQUIRED_USE="
 #	"${FILESDIR}/cyrus-imapd-libcap-libs-r1.patch"
 #)
 
-pkg_setup() {
-	# https://bugs.gentoo.org/604466
-	append-ldflags $(no-as-needed)
-}
-
 src_prepare() {
 	default
 
@@ -103,6 +98,9 @@ src_prepare() {
 src_configure() {
 	local myconf
 
+	# https://bugs.gentoo.org/604466
+	append-ldflags $(no-as-needed)
+
 	if use afs ; then
 		myconf+=" --with-afs-libdir=/usr/$(get_libdir)"
 		myconf+=" --with-afs-incdir=/usr/include/afs"


             reply	other threads:[~2021-05-07 14:38 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-07 14:38 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-02 11:14 [gentoo-commits] repo/gentoo:master commit in: net-mail/cyrus-imapd/ David Seifert
2023-05-05 10:42 Arthur Zamarin
2023-03-25  6:35 Arthur Zamarin
2023-02-13  4:23 Sam James
2023-02-13  4:23 Sam James
2022-08-24  5:29 Agostino Sarubbo
2022-08-24  5:25 Agostino Sarubbo
2022-06-27  9:55 Sam James
2022-05-10 16:59 Sam James
2022-05-10 13:47 Agostino Sarubbo
2022-03-22 23:32 Sam James
2022-02-23  2:52 Sam James
2022-02-23  2:52 Sam James
2022-02-21  7:47 Agostino Sarubbo
2022-02-19 19:28 Sam James
2022-02-19 15:47 Jakov Smolić
2021-11-20 15:34 Arthur Zamarin
2021-10-09  3:20 Sam James
2021-10-08 18:49 Agostino Sarubbo
2021-10-08 18:48 Agostino Sarubbo
2021-10-08 18:48 Agostino Sarubbo
2021-09-25 19:08 Sam James
2021-09-16  1:18 Sam James
2021-09-16  1:18 Sam James
2021-09-13 20:30 David Seifert
2021-06-17 22:18 Thomas Deutschmann
2021-06-17 20:32 Thomas Deutschmann
2021-06-13  6:32 Agostino Sarubbo
2021-06-13  6:28 Agostino Sarubbo
2021-06-13  3:45 Sam James
2021-05-10  9:28 Sam James
2021-05-10  9:22 Sam James
2021-05-10  9:22 Sam James
2021-05-06 23:26 Sam James
2021-05-06 23:26 Sam James
2021-05-06 23:26 Sam James
2021-05-06 23:26 Sam James
2020-12-20 19:07 Thomas Deutschmann
2020-12-17 16:41 Agostino Sarubbo
2020-12-17  8:58 Sam James
2020-09-08  9:21 Eray Aslan
2020-09-08  6:40 Eray Aslan
2020-09-05  4:06 Sam James
2020-05-08  6:38 Agostino Sarubbo
2020-04-09 18:42 Eray Aslan
2019-12-12 14:58 Michał Górny
2019-10-12 21:24 Mikle Kolyada
2019-07-30  6:35 Eray Aslan
2019-06-13 14:54 Agostino Sarubbo
2019-06-13 14:53 Agostino Sarubbo
2019-06-13 14:28 Agostino Sarubbo
2019-06-13 14:12 Agostino Sarubbo
2019-06-09 11:40 Pacho Ramos
2019-06-09 11:40 Pacho Ramos
2019-06-04 19:01 Agostino Sarubbo
2019-06-03 15:00 Agostino Sarubbo
2019-05-28 10:17 Eray Aslan
2019-04-06 22:23 Patrice Clement
2019-03-26 20:17 Aaron Bauman
2019-02-18 20:29 Brian Evans
2018-08-29  5:41 Eray Aslan
2018-08-29  5:41 Eray Aslan
2018-04-30  8:06 Eray Aslan
2018-03-15 11:09 Mikle Kolyada
2018-03-11  2:16 Thomas Deutschmann
2018-01-22 14:21 Eray Aslan
2017-11-26 19:06 Sergei Trofimovich
2017-10-25  9:31 Agostino Sarubbo
2017-10-16 23:28 Sergei Trofimovich
2017-10-15 21:34 Sergei Trofimovich
2017-10-13 15:01 Thomas Deutschmann
2017-06-22  5:22 Eray Aslan
2017-05-17  7:39 Eray Aslan
2017-05-09  8:23 Eray Aslan
2017-01-24 21:16 Jeroen Roovers
2016-11-25 18:54 Agostino Sarubbo
2016-11-25 18:27 Agostino Sarubbo
2016-10-20 14:43 Eray Aslan
2016-07-25 10:26 Eray Aslan
2016-05-21 14:37 Eray Aslan
2016-05-21 14:37 Eray Aslan
2015-12-01 16:09 Eray Aslan
2015-09-17  6:21 Eray Aslan
2015-08-10 12:29 Eray Aslan

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=1620398280.33f62c77eb8f4c280cf80a1e8cc8f8815055b2e4.sam@gentoo \
    --to=sam@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