diff options
author | jlam <jlam> | 2006-07-10 22:59:26 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-07-10 22:59:26 +0000 |
commit | 7fd04c2d697a38cf4109746e272bd0be03a1e3d5 (patch) | |
tree | cb614cea1d624a5581e700c292825cf7d5a200cb /mail/qgreylist | |
parent | 8314447c092c2e6ff0650ddef13b4934c318e4db (diff) | |
download | pkgsrc-7fd04c2d697a38cf4109746e272bd0be03a1e3d5.tar.gz |
Completely nuke the concept of PKG_PHASE from pkgsrc except for the
purposes of caching MAKEVARS within bsd.pkg.mk and bsd.makevars.mk.
Diffstat (limited to 'mail/qgreylist')
-rw-r--r-- | mail/qgreylist/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/mail/qgreylist/Makefile b/mail/qgreylist/Makefile index 2588258a867..e201001ada4 100644 --- a/mail/qgreylist/Makefile +++ b/mail/qgreylist/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/12/29 06:21:53 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2006/07/10 22:59:26 jlam Exp $ # DISTNAME= qgreylist-0.3 @@ -24,13 +24,15 @@ REPLACE_PERL= greylist .include "../../mk/bsd.prefs.mk" # Detect the PKG_SYSCONFDIR of the installed qmail, so we can create -# config files there. -.if !empty(PHASES_AFTER_EXTRACT:M${PKG_PHASE}) -INSTALLED_QMAIL!= ${PKG_BEST_EXISTS} ${DEPENDS_QMAIL:C/:.*$//:Q:S/\ / /g} -. if empty(INSTALLED_QMAIL:M*_not_found_) -. if !defined(PKG_SYSCONFDIR.qgreylist) -PKG_SYSCONFDIR.qgreylist!= ${PKG_INFO} -Q PKG_SYSCONFDIR ${INSTALLED_QMAIL} -. endif +# 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 |