summaryrefslogtreecommitdiff
path: root/mail-mta/netqmail/netqmail-1.06-r4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/netqmail/netqmail-1.06-r4.ebuild')
-rw-r--r--mail-mta/netqmail/netqmail-1.06-r4.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/mail-mta/netqmail/netqmail-1.06-r4.ebuild b/mail-mta/netqmail/netqmail-1.06-r4.ebuild
index 1f750f0f1717..aa64d3d57d5e 100644
--- a/mail-mta/netqmail/netqmail-1.06-r4.ebuild
+++ b/mail-mta/netqmail/netqmail-1.06-r4.ebuild
@@ -101,12 +101,14 @@ src_prepare() {
ht_fix_file Makefile*
if ! use vanilla; then
- # This patch contains relative paths and needs to be cleaned up.
- sed 's~^--- ../../~--- ~g' \
- <"${DISTDIR}"/${QMAIL_TLS_F} \
- >"${T}"/${QMAIL_TLS_F} || die
- use ssl && epatch "${T}"/${QMAIL_TLS_F}
- use ssl && epatch "${DISTDIR}"/${QMAIL_TLS_CVE}
+ if use ssl; then
+ # This patch contains relative paths and needs to be cleaned up.
+ sed 's~^--- ../../~--- ~g' \
+ < "${DISTDIR}"/${QMAIL_TLS_F} \
+ > "${T}"/${QMAIL_TLS_F} || die
+ epatch "${T}"/${QMAIL_TLS_F}
+ epatch "${DISTDIR}"/${QMAIL_TLS_CVE}
+ fi
use highvolume && epatch "${DISTDIR}"/${QMAIL_BIGTODO_F}
if use qmail-spp; then