pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail-run Keep it simple: set PKG_SYSCONFSUBDIR t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8921f3badd4
branches:  trunk
changeset: 397276:b8921f3badd4
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jun 19 17:49:13 2019 +0000

description:
Keep it simple: set PKG_SYSCONFSUBDIR to match mail/qmail's. Bump version just in case.

diffstat:

 mail/qmail-run/Makefile |  24 +++++-------------------
 1 files changed, 5 insertions(+), 19 deletions(-)

diffs (54 lines):

diff -r 6bacc561fb23 -r b8921f3badd4 mail/qmail-run/Makefile
--- a/mail/qmail-run/Makefile   Wed Jun 19 17:46:39 2019 +0000
+++ b/mail/qmail-run/Makefile   Wed Jun 19 17:49:13 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.72 2019/04/14 13:28:44 schmonz Exp $
+# $NetBSD: Makefile,v 1.73 2019/06/19 17:49:13 schmonz Exp $
 #
 
-DISTNAME=              qmail-run-20190414
+DISTNAME=              qmail-run-20190619
 CATEGORIES=            mail
 MASTER_SITES=          # empty
 DISTFILES=             # empty
@@ -13,8 +13,7 @@
 DEPENDS+=              greetdelay-[0-9]*:../../mail/greetdelay
 DEPENDS+=              greylisting-spp-[0-9]*:../../mail/greylisting-spp
 DEPENDS+=              pkg_alternatives-[0-9]*:../../pkgtools/pkg_alternatives
-DEPENDS_QMAIL=         qmail>=1.03nb42:../../mail/qmail
-DEPENDS+=              ${DEPENDS_QMAIL}
+DEPENDS+=              qmail>=1.03nb42:../../mail/qmail
 DEPENDS+=              qmail-acceptutils>=20181228:../../mail/qmail-acceptutils
 DEPENDS+=              qmail-qfilter>1.5nb1:../../mail/qmail-qfilter
 DEPENDS+=              qmail-rejectutils>=20181230:../../mail/qmail-rejectutils
@@ -33,6 +32,8 @@
 MESSAGE_SUBST+=                PKG_SYSCONFBASE=${PKG_SYSCONFBASE:Q}
 RCD_SCRIPTS=           qmail qmailofmipd qmailpop3d qmailqread qmailsend qmailsmtpd
 
+PKG_SYSCONFSUBDIR=     qmail
+
 EGDIR=                 share/examples/qmail-run
 .for f in defaultdelivery fixsmtpio signatures rcptchecks \
        ofmipfilters smtpfilters \
@@ -60,21 +61,6 @@
 BUILD_DEFS+=           QMAIL_QMAIL_GROUP PKG_SYSCONFBASE
 BUILD_DEFS+=           UCSPI_SSL_USER UCSPI_SSL_GROUP
 
-.include "../../mk/bsd.prefs.mk"
-
-# Detect the PKG_SYSCONFDIR of the installed qmail, so we can create
-# config files there and refer to them from rc.d scripts.
-#
-.if !defined(PKG_SYSCONFDIR.qmail-run)
-PKG_SYSCONFDIR.qmail-run!=                                             \
-       ${PKG_INFO} -Q PKG_SYSCONFDIR                                   \
-               ${DEPENDS_QMAIL:C/:.*$//:Q} 2>/dev/null ||              \
-       ${ECHO} "PKG_SYSCONFDIR.qmail-run_not_set"
-.  if empty(PKG_SYSCONFDIR.qmail-run:M*not_set)
-MAKEVARS+=     PKG_SYSCONFDIR.qmail-run
-.  endif
-.endif
-
 SUBST_CLASSES+=                paths
 SUBST_STAGE.paths=     pre-configure
 SUBST_FILES.paths=     mailer.conf README.pkgsrc



Home | Main Index | Thread Index | Old Index