aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-02 22:12:20 +0800
committerbapt <bapt@FreeBSD.org>2013-05-02 22:12:20 +0800
commit805cdeaffd188c8bc3e1555e4806d254edca72b0 (patch)
treed3ed941b9eb2de55184fd5058f4bcb5616f963e9 /Mk
parenta03024f3f5e3c9362b5f357b1f2a1782ff6be469 (diff)
downloadfreebsd-ports-graphics-805cdeaffd188c8bc3e1555e4806d254edca72b0.tar.gz
freebsd-ports-graphics-805cdeaffd188c8bc3e1555e4806d254edca72b0.tar.zst
freebsd-ports-graphics-805cdeaffd188c8bc3e1555e4806d254edca72b0.zip
bmake expect a command to always return something so return an empty line when openldap is not installed
Obtained from: dports
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 b99bd729d59..2c0b9a38750 100644
--- a/Mk/bsd.ldap.mk
+++ b/Mk/bsd.ldap.mk
@@ -66,7 +66,7 @@ IGNORE= cannot install: OpenLDAP versions mismatch: openldap${_OPENLDAP_VER}-cli
CFLAGS+= -DLDAP_DEPRECATED
-_OPENLDAP_CLIENT_PKG!= ${PKG_INFO} -Ex openldap.\*-client 2>/dev/null || ${TRUE}
+_OPENLDAP_CLIENT_PKG!= ${PKG_INFO} -Ex openldap.\*-client 2>/dev/null || ${ECHO_CMD}
_OPENLDAP_FLAVOUR= ${_OPENLDAP_CLIENT_PKG:C/openldap//:C/-client-.*//}
.if defined(WANT_OPENLDAP_SASL)