pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/qgreylist



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Wed Jun 19 17:44:15 UTC 2019

Modified Files:
        pkgsrc/mail/qgreylist: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/mail/qgreylist/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/qgreylist/Makefile
diff -u pkgsrc/mail/qgreylist/Makefile:1.21 pkgsrc/mail/qgreylist/Makefile:1.22
--- pkgsrc/mail/qgreylist/Makefile:1.21 Wed Oct 31 20:37:20 2018
+++ pkgsrc/mail/qgreylist/Makefile      Wed Jun 19 17:44:15 2019
@@ -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 @@ MAINTAINER=           schmonz%NetBSD.org@localhost
 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 @@ BUILD_DEFS+=         QMAIL_DAEMON_USER
 
 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