summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz>2005-07-19 21:15:10 +0000
committerschmonz <schmonz>2005-07-19 21:15:10 +0000
commit48afa713e4a1cbfb90826a5e1c5efea0daa727ad (patch)
tree3e4fc13c1317edc78cc65904667b917164bd2e6c
parentcb84b7af2ddabc0c60bd1cd2d31a061d436a423a (diff)
downloadpkgsrc-48afa713e4a1cbfb90826a5e1c5efea0daa727ad.tar.gz
Use pkg_info's -B switch, now that we're sure to have it available,
obviating the need for a sed expression.
-rw-r--r--mail/qmail-run/Makefile5
-rw-r--r--net/djbdns-run/Makefile5
2 files changed, 4 insertions, 6 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
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