summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-12-16 13:11:19 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-12-16 13:11:19 +0000
commit46537e6c372eff405c8fe3f5e9bd49295e8ab8f2 (patch)
treefb953b57182abf9ac11e9f9efb9cc22b180e1b98 /textproc
parent192d2a45ee32168ef62d80939d75a0d630741099 (diff)
downloadpkgsrc-46537e6c372eff405c8fe3f5e9bd49295e8ab8f2.tar.gz
Fix pkg_admin(1) syntax.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/eb/buildlink3.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/eb/buildlink3.mk b/textproc/eb/buildlink3.mk
index 8515ce13d70..1c34e8e6f04 100644
--- a/textproc/eb/buildlink3.mk
+++ b/textproc/eb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2004/12/06 09:09:48 uebayasi Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2004/12/16 13:11:19 uebayasi Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EB_BUILDLINK3_MK:= ${EB_BUILDLINK3_MK}+
@@ -15,7 +15,8 @@ _EB_REQD= 3.3.2nb1
# XXX We need something generic.
.include "../../mk/bsd.prefs.mk"
PKG_SYSCONFDIR.eb!= \
- if ${PKG_ADMIN} pmatch 'eb>=${_EB_REQD}' 2>/dev/null; then \
+ if ${PKG_ADMIN} pmatch 'eb>=${_EB_REQD}' \
+ `${PKG_INFO} -e eb` 2>/dev/null; then \
${PKG_INFO} -B eb 2>/dev/null | \
${SED} -ne '/^PKG_SYSCONFDIR/ { \
s/^PKG_SYSCONFDIR=//; p; }'; \