freebsd-ports/security/sssd/files/patch-src__external__krb5.m4
Fernando Apesteguía a4a3b5185b security/sssd: fix package with SMB=on
When the option SMB is ON, the port fails to package.

While here:

 * Reorder Makefile variables
 * Change obsolete @unexec to @postexec
 * Rework patches to comply with makepatch format

PR:	244778
Submitted by:	tommyhp2@gmail.com
Approved by:	lukas.slebodnik@intrak.sk (maintainer, timeout)
2020-03-29 18:16:30 +00:00

11 lines
395 B
Text

--- src/external/krb5.m4.orig 2014-09-17 13:01:37 UTC
+++ src/external/krb5.m4
@@ -9,7 +9,7 @@ if test x$KRB5_CFLAGS != x; then
KRB5_PASSED_CFLAGS=$KRB5_CFLAGS
fi
-AC_PATH_PROG(KRB5_CONFIG, krb5-config)
+AC_PATH_PROG(KRB5_CONFIG, krb5-config, [], [/usr/local/bin:$PATH])
AC_MSG_CHECKING(for working krb5-config)
if test -x "$KRB5_CONFIG"; then
KRB5_CFLAGS="`$KRB5_CONFIG --cflags`"