commit:     c3931c6bc9b09a904a6c2785f2f9dde74bfd6072
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  5 09:10:12 2025 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Apr  5 09:10:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3931c6b

mail-mta/exim-4.98.2: squelch variable ordering warnings

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 mail-mta/exim/exim-4.98.2.ebuild | 35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

diff --git a/mail-mta/exim/exim-4.98.2.ebuild b/mail-mta/exim/exim-4.98.2.ebuild
index f83e14bb48d4..44aa4d7194a5 100644
--- a/mail-mta/exim/exim-4.98.2.ebuild
+++ b/mail-mta/exim/exim-4.98.2.ebuild
@@ -5,6 +5,24 @@ EAPI="7"
 
 inherit db-use flag-o-matic toolchain-funcs pam systemd
 
+DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
+HOMEPAGE="https://www.exim.org/";
+
+SDIR=$(
+       [[ ${PV} == *_rc* ]]   && echo /test
+       [[ ${PV} == *.*.*.* ]] && echo /fixes
+)
+COMM_URI="https://downloads.exim.org/exim4${SDIR}";
+
+SRC_URI="${COMM_URI}/${P//_rc/-RC}.tar.xz
+       mirror://gentoo/system_filter.exim.gz
+       doc? ( ${COMM_URI}/${PN}-pdf-${PV//_rc/-RC}.tar.xz )"
+S=${WORKDIR}/${P//_rc/-RC}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
 IUSE="arc berkdb +dane dcc +dkim dlfunc dmarc +dnsdb doc dovecot-sasl
 dsn gdbm gnutls idn ipv6 ldap lmtp maildir mbx
 mysql nis pam perl pkcs11 postgres +prdr proxy radius redis sasl selinux
@@ -31,21 +49,6 @@ REQUIRED_USE="
 # We cannot express a required use for berkdb/gdbm/tdb correctly because
 # berkdb and gdbm are both enabled in base profile
 
-SDIR=$([[ ${PV} == *_rc* ]]   && echo /test
-        [[ ${PV} == *.*.*.* ]] && echo /fixes)
-COMM_URI="https://downloads.exim.org/exim4${SDIR}";
-
-GPV="r0"
-DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="${COMM_URI}/${P//_rc/-RC}.tar.xz
-       mirror://gentoo/system_filter.exim.gz
-       doc? ( ${COMM_URI}/${PN}-pdf-${PV//_rc/-RC}.tar.xz )"
-HOMEPAGE="https://www.exim.org/";
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-
 COMMON_DEPEND=">=sys-apps/sed-4.0.5
        dev-libs/libpcre2:=
        tdb? ( sys-libs/tdb:= )
@@ -108,8 +111,6 @@ RDEPEND="${COMMON_DEPEND}
        selinux? ( sec-policy/selinux-exim )
        "
 
-S=${WORKDIR}/${P//_rc/-RC}
-
 src_prepare() {
        # Legacy patches which need a respin for -p1
        eapply -p0 "${FILESDIR}"/exim-4.14-tail.patch

Reply via email to