aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-05-11 23:19:49 +0800
committerbapt <bapt@FreeBSD.org>2012-05-11 23:19:49 +0800
commit492134d7a78d030be6d0ebd03284c54ac81e4bf2 (patch)
treed7c42285c54aa49908ec31fbbce857ed70bc59ff /Mk
parentfbbe71882f5b850bf0dc1fbc6f5b9a32fa596f33 (diff)
downloadfreebsd-ports-gnome-492134d7a78d030be6d0ebd03284c54ac81e4bf2.tar.gz
freebsd-ports-gnome-492134d7a78d030be6d0ebd03284c54ac81e4bf2.tar.zst
freebsd-ports-gnome-492134d7a78d030be6d0ebd03284c54ac81e4bf2.zip
Do not report error from bsd.ldap.mk with pkgng if pkgng isn't installed
Reported by: Bryan Drewery (via irc://freenode/#pkgng)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.ldap.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.ldap.mk b/Mk/bsd.ldap.mk
index a08ef8a9f2af..6c70aae308ac 100644
--- a/Mk/bsd.ldap.mk
+++ b/Mk/bsd.ldap.mk
@@ -64,7 +64,7 @@ IGNORE= cannot install: OpenLDAP versions mismatch: openldap${_OPENLDAP_VER}-cli
CFLAGS+= -DLDAP_DEPRECATED
-_OPENLDAP_CLIENT_PKG!= ${PKG_INFO} -Ex openldap.\*-client || ${TRUE}
+_OPENLDAP_CLIENT_PKG!= ${PKG_INFO} -Ex openldap.\*-client 2>/dev/null || ${TRUE}
_OPENLDAP_FLAVOUR= ${_OPENLDAP_CLIENT_PKG:C/openldap//:C/-client-.*//}
.if defined(WANT_OPENLDAP_SASL)