pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/eb Fix pkg_admin(1) syntax.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ac81fcc443d
branches:  trunk
changeset: 485575:5ac81fcc443d
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Thu Dec 16 13:11:19 2004 +0000

description:
Fix pkg_admin(1) syntax.

diffstat:

 textproc/eb/buildlink3.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0d8aaf713259 -r 5ac81fcc443d textproc/eb/buildlink3.mk
--- a/textproc/eb/buildlink3.mk Thu Dec 16 12:25:21 2004 +0000
+++ b/textproc/eb/buildlink3.mk Thu Dec 16 13:11:19 2004 +0000
@@ -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 @@
 # 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; }';            \



Home | Main Index | Thread Index | Old Index