summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc>1998-04-23 07:13:17 +0000
committeragc <agc>1998-04-23 07:13:17 +0000
commitc8bf34069f18959525974aeddf10a3c703f1b3b8 (patch)
tree5d0aeaf7791c1996245a0b40f25624289027b3d0 /mk
parent35e22309942daf4dc820697c6b2967cd1bf1b53a (diff)
downloadpkgsrc-c8bf34069f18959525974aeddf10a3c703f1b3b8.tar.gz
Slightly shorter way of using pkg_info -e to work out whether a package
is installed, from Hubert Feyrer.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index b4c7eaa37da..4a0898b7ed9 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
-# $NetBSD: bsd.pkg.mk,v 1.74 1998/04/22 17:29:10 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.75 1998/04/23 07:13:17 agc Exp $
#
# This file is derived from bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@@ -1816,7 +1816,7 @@ misc-depends:
@for dir in ${DEPENDS}; do \
package=`${ECHO} $$dir | ${SED} -e 's/:.*//'`; \
dir=`${ECHO} $$dir | ${SED} -e 's/.*://'`; \
- if `pkg_info -e $$package`; then \
+ if pkg_info -e $$package; then \
${ECHO_MSG} "===> ${PKGNAME} depends on: installed package $$package"; \
else \
${ECHO_MSG} "===> ${PKGNAME} depends on: package $$package"; \