From 5a8b3a7f1c9b28eeeae9156fe680ab90077e49ba Mon Sep 17 00:00:00 2001 From: schmonz Date: Tue, 19 Jul 2005 21:15:10 +0000 Subject: Use pkg_info's -B switch, now that we're sure to have it available, obviating the need for a sed expression. --- net/djbdns-run/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'net/djbdns-run') 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 -- cgit v1.2.3