pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qgreylist Keep it simple: set PKG_SYSCONFSUBDIR t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b63536cc781
branches:  trunk
changeset: 397273:0b63536cc781
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jun 19 17:44:15 2019 +0000

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

diffstat:

 mail/qgreylist/Makefile |  22 ++++------------------
 1 files changed, 4 insertions(+), 18 deletions(-)

diffs (45 lines):

diff -r e578a5eaf00a -r 0b63536cc781 mail/qgreylist/Makefile
--- a/mail/qgreylist/Makefile   Wed Jun 19 17:43:28 2019 +0000
+++ b/mail/qgreylist/Makefile   Wed Jun 19 17:44:15 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2018/10/31 20:37:20 schmonz Exp $
+# $NetBSD: Makefile,v 1.22 2019/06/19 17:44:15 schmonz Exp $
 
 DISTNAME=              qgreylist-0.3
-PKGREVISION=           7
+PKGREVISION=           8
 CATEGORIES=            mail
 #MASTER_SITES=         ${HOMEPAGE}
 
@@ -10,8 +10,7 @@
 COMMENT=               Simple greylisting for qmail
 LICENSE=               mit
 
-DEPENDS_QMAIL=         qmail>=1.03nb8:../../mail/qmail
-DEPENDS+=              ${DEPENDS_QMAIL}
+DEPENDS+=              qmail>=1.03nb8:../../mail/qmail
 
 WRKSRC=                        ${WRKDIR}/qgreylist
 
@@ -24,20 +23,7 @@
 
 REPLACE_PERL=          greylist
 
-.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.qgreylist)
-PKG_SYSCONFDIR.qgreylist!=                                             \
-       ${PKG_INFO} -Q PKG_SYSCONFDIR                                   \
-               ${DEPENDS_QMAIL:C/:.*$//:Q} 2>/dev/null ||              \
-       ${ECHO} "PKG_SYSCONFDIR.qgreylist_not_set"
-.  if empty(PKG_SYSCONFDIR.qgreylist:M*not_set)
-MAKEVARS+=     PKG_SYSCONFDIR.qgreylist
-.  endif
-.endif
+PKG_SYSCONFSUBDIR=     qmail
 
 SUBST_CLASSES+=                qmaildirs
 SUBST_STAGE.qmaildirs= do-configure



Home | Main Index | Thread Index | Old Index