summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron>1999-12-01 21:32:08 +0000
committertron <tron>1999-12-01 21:32:08 +0000
commit4f702635888aaaef28a0dea568b770567cc62965 (patch)
tree8d616ca6e8de9d23f0fc7d0c86516c3c602ee094 /mail
parent9ebf192af1164327d3181495fb3d365abaa55738 (diff)
downloadpkgsrc-4f702635888aaaef28a0dea568b770567cc62965.tar.gz
Let "post-install" rule recognize "${USE_DB2}", too.
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 1a030acedaf..5562cbfe44d 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 1999/12/01 21:31:04 tron Exp $
+# $NetBSD: Makefile,v 1.9 1999/12/01 21:32:08 tron Exp $
DISTNAME= sendmail.8.9.3
PKGNAME= sendmail-8.9.3
@@ -52,6 +52,8 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/etc
${CP} -pr ${WRKSRC}/cf ${PREFIX}/share/sendmail
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/sendmail
+.if ${USE_DB2} == YES
${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE}
+.endif
.include "../../mk/bsd.pkg.mk"