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 /net | |
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 'net')
-rw-r--r-- | net/djbdns-run/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/net/djbdns-run/Makefile b/net/djbdns-run/Makefile index 173bc169e23..86d028fce13 100644 --- a/net/djbdns-run/Makefile +++ b/net/djbdns-run/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2006/04/27 22:46:10 jlam Exp $ +# $NetBSD: Makefile,v 1.17 2006/07/10 22:59:26 jlam Exp $ # DISTNAME= djbdns-run-20050415 @@ -40,12 +40,14 @@ INSTALLATION_DIRS= bin share/doc/djbdns-run # Detect the PKG_SYSCONFDIR of the installed djbdns, so we can create # config files there and refer to them from rc.d scripts. -.if !empty(PHASES_AFTER_EXTRACT:M${PKG_PHASE}) -INSTALLED_DJBDNS!= ${PKG_BEST_EXISTS} ${DEPENDS_DJBDNS:C/:.*$//:Q:S/\ / /g} -. if empty(INSTALLED_DJBDNS:M*_not_found_) -. if !defined(PKG_SYSCONFDIR.djbdns-run) -PKG_SYSCONFDIR.djbdns-run!= ${PKG_INFO} -Q PKG_SYSCONFDIR ${INSTALLED_DJBDNS} -. endif +# +.if !defined(PKG_SYSCONFDIR.djbdns-run) +PKG_SYSCONFDIR.djbdns-run!= \ + ${PKG_INFO} -Q PKG_SYSCONFDIR \ + ${DEPENDS_DJBDNS:C/:.*$//:Q} 2>/dev/null || \ + ${ECHO} "PKG_SYSCONFDIR.djbdns-run_not_set" +. if empty(PKG_SYSCONFDIR.djbdns-run:M*not_set) +MAKEVARS+= PKG_SYSCONFDIR.djbdns-run . endif .endif |