pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/nullmailer nullmailer: only depend on daemontools...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66069cdcc257
branches:  trunk
changeset: 374772:66069cdcc257
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Sun Jan 28 23:39:36 2018 +0000

description:
nullmailer: only depend on daemontools when using rc.d init script

diffstat:

 mail/nullmailer/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r b9eeba1d8016 -r 66069cdcc257 mail/nullmailer/Makefile
--- a/mail/nullmailer/Makefile  Sun Jan 28 23:31:16 2018 +0000
+++ b/mail/nullmailer/Makefile  Sun Jan 28 23:39:36 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2018/01/28 23:31:16 wiedi Exp $
+# $NetBSD: Makefile,v 1.43 2018/01/28 23:39:36 wiedi Exp $
 
 DISTNAME=              nullmailer-2.1
 PKGREVISION=           1
@@ -10,7 +10,10 @@
 COMMENT=               Simple relay-only mail transport agent
 LICENSE=               gnu-gpl-v2
 
+.include "../../mk/bsd.prefs.mk"
+.if ${INIT_SYSTEM} == "rc.d"
 DEPENDS+=              daemontools-[0-9]*:../../sysutils/daemontools
+.endif
 
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            gmake



Home | Main Index | Thread Index | Old Index