From f0a88cc951fd2f2cc452c27b2ea0a13ea85172c9 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 3 Jun 2008 00:59:44 +0000 Subject: FreeBSD build fixes, and fix error message --- plugin/Makefile.am | 4 ++-- plugin/Makefile.in | 4 ++-- plugin/delegateldap.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin/Makefile.am b/plugin/Makefile.am index 900e5a2..e2901b6 100644 --- a/plugin/Makefile.am +++ b/plugin/Makefile.am @@ -8,9 +8,9 @@ libdelegateldap_la_LDFLAGS = -module -avoid-version libdelegateldap_la_SOURCES = delegateldap.c delegateldap.sasl: delegateldap.sasl.in Makefile - @sed -e "s|\@LIBDIR\@|$(libdir)|" $< > $@ + @sed -e "s|\@LIBDIR\@|$(libdir)|" $(srcdir)/delegateldap.sasl.in > delegateldap.sasl delegateldap.README: delegateldap.README.in Makefile - @sed -e "s|\@LIBDIR\@|$(libdir)|" $< > $@ + @sed -e "s|\@LIBDIR\@|$(libdir)|" $(srcdir)/delegateldap.README.in > delegateldap.README sasldir = $(libdir)/sasl2/ sasl_DATA = \ diff --git a/plugin/Makefile.in b/plugin/Makefile.in index c6f0c05..467a86d 100644 --- a/plugin/Makefile.in +++ b/plugin/Makefile.in @@ -500,9 +500,9 @@ uninstall-am: uninstall-moduleLTLIBRARIES uninstall-saslDATA delegateldap.sasl: delegateldap.sasl.in Makefile - @sed -e "s|\@LIBDIR\@|$(libdir)|" $< > $@ + @sed -e "s|\@LIBDIR\@|$(libdir)|" $(srcdir)/delegateldap.sasl.in > delegateldap.sasl delegateldap.README: delegateldap.README.in Makefile - @sed -e "s|\@LIBDIR\@|$(libdir)|" $< > $@ + @sed -e "s|\@LIBDIR\@|$(libdir)|" $(srcdir)/delegateldap.README.in > delegateldap.README # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/plugin/delegateldap.c b/plugin/delegateldap.c index 170c6a7..7a5c08e 100644 --- a/plugin/delegateldap.c +++ b/plugin/delegateldap.c @@ -74,7 +74,7 @@ report_ldap_error (const sasl_utils_t *utils, int ldap, const char *format, ...) } (utils->seterror) (utils->conn, 0, "%s%s%s", - buf, buf[0] ? ":" : "", ldap_err2string (ldap)); + buf, buf[0] ? ": " : "", ldap_err2string (ldap)); fprintf (stderr, "%s%s%s", buf, buf[0] ? ": " : "", ldap_err2string (ldap)); fputc ('\n', stderr); -- cgit v1.2.3