summaryrefslogtreecommitdiff
path: root/eclass/qmail.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/qmail.eclass')
-rw-r--r--eclass/qmail.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/qmail.eclass b/eclass/qmail.eclass
index d527eb5f79d5..0e47aa55fa25 100644
--- a/eclass/qmail.eclass
+++ b/eclass/qmail.eclass
@@ -92,7 +92,12 @@ qmail_set_cc() {
echo "${cc} ${CFLAGS} ${CPPFLAGS}" > ./conf-cc || die 'Patching conf-cc failed.'
echo "${ld} ${LDFLAGS}" > ./conf-ld || die 'Patching conf-ld failed.'
- sed -e "s#'ar #'$(tc-getAR) #" -e "s#'ranlib #'$(tc-getRANLIB) #" -i make-makelib.sh || die
+
+ # This function is used also by sys-apps/ucspi-tcp and sys-process/daemontools-encore
+ # but they don't have make-makelib.sh script, see bugs #902009 and #902019
+ if [[ -f make-makelib.sh ]]; then
+ sed -e "s#'ar #'$(tc-getAR) #" -e "s#'ranlib #'$(tc-getRANLIB) #" -i make-makelib.sh || die
+ fi
}
genqmail_src_unpack() {