summaryrefslogtreecommitdiff
path: root/mail/qmail-run/Makefile
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 /mail/qmail-run/Makefile
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 'mail/qmail-run/Makefile')
-rw-r--r--mail/qmail-run/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/qmail-run/Makefile b/mail/qmail-run/Makefile
index 023810a4b43..781302b5a84 100644
--- a/mail/qmail-run/Makefile
+++ b/mail/qmail-run/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/04/15 05:17:01 schmonz Exp $
+# $NetBSD: Makefile,v 1.10 2005/07/19 21:15:10 schmonz Exp $
#
DISTNAME= qmail-run-20050415
@@ -36,8 +36,7 @@ INSTALLED_QMAIL!= ${PKG_BEST_EXISTS} ${DEPENDS_QMAIL:C/:.*$//:Q:S/\ / /g}
. if empty(INSTALLED_QMAIL:M*_not_found_)
. if !defined(PKG_SYSCONFDIR.qmail-run)
PKG_SYSCONFDIR.qmail-run!= \
- ${PKG_INFO} -qB ${INSTALLED_QMAIL} | \
- ${SED} -n '/^PKG_SYSCONFDIR=/s|^PKG_SYSCONFDIR=[ ]*||p'
+ ${PKG_INFO} -Q PKG_SYSCONFDIR ${INSTALLED_QMAIL}
. endif
. endif
.endif