summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild')
-rw-r--r--net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index f6d1408fd0eb..5d65cf8a3dba 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -2,11 +2,11 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit readme.gentoo-r1 systemd
+inherit autotools readme.gentoo-r1 systemd
DESCRIPTION="An IMAP daemon designed specifically for maildirs"
HOMEPAGE="https://www.courier-mta.org/imap/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
@@ -66,6 +66,11 @@ PATCHES=(
"${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
)
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
local myconf=""
@@ -224,7 +229,7 @@ src_install() {
pkg_postinst() {
# Some users have been reporting that permissions on this directory were
# getting scrambled, so let's ensure that they are sane.
- fperms 0755 "${ROOT}/usr/$(get_libdir)/${PN}"
+ chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}"
readme.gentoo_print_elog