summaryrefslogtreecommitdiff
path: root/net/djbdns-run
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-07-19 21:15:10 +0000
committerschmonz <schmonz@pkgsrc.org>2005-07-19 21:15:10 +0000
commit5a8b3a7f1c9b28eeeae9156fe680ab90077e49ba (patch)
tree3e4fc13c1317edc78cc65904667b917164bd2e6c /net/djbdns-run
parentd4e2aa69be1280c0e6207869ccde0766399cfa82 (diff)
downloadpkgsrc-5a8b3a7f1c9b28eeeae9156fe680ab90077e49ba.tar.gz
Use pkg_info's -B switch, now that we're sure to have it available,
obviating the need for a sed expression.
Diffstat (limited to 'net/djbdns-run')
-rw-r--r--net/djbdns-run/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/djbdns-run/Makefile b/net/djbdns-run/Makefile
index b2c69114a59..70df4fae3b3 100644
--- a/net/djbdns-run/Makefile
+++ b/net/djbdns-run/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/04/15 05:15:55 schmonz Exp $
+# $NetBSD: Makefile,v 1.8 2005/07/19 21:15:10 schmonz Exp $
#
DISTNAME= djbdns-run-20050415
@@ -46,8 +46,7 @@ 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} -qB ${INSTALLED_DJBDNS} | \
- ${SED} -n '/^PKG_SYSCONFDIR=/s|^PKG_SYSCONFDIR=[ ]*||p'
+ ${PKG_INFO} -Q PKG_SYSCONFDIR ${INSTALLED_DJBDNS}
. endif
. endif
.endif