diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2024-09-15 12:42:33 +0300 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2024-10-16 20:27:51 +0300 |
commit | 598459fb207ac9f8e25b9807eaca060338b40403 (patch) | |
tree | 08876c0f78da6fd08dfc420b211518aa419513c6 /security/sssd2/files/patch-configure.ac | |
parent | net-im/telegram-desktop: update 5.6.1 -> 5.6.3 (diff) |
security/sssd2: Assorted port cleanups
- Simplify depending on Kerberos
- - Do not use gssapi:bootstrap
- - Do not redefine variables already defined by USES
- - Instead of patching, pass the KRB5_CONFIG env var
- Trim unused dependencies
- Remove hunks from the configure.ac patch that aren't needed anymore
- Simplify SHEBANG_FILES
- No need to define LIB_DIRS, DEBUG_FLAGS and STRIP
- Bump PORTREVISION to catch possible regressions
Tested by: arrowd
Approved by: 0mp, jhixson
Pull Request: https://github.com/freebsd/freebsd-ports/pull/272
Sponsored by: Future Crew, LLC
Diffstat (limited to 'security/sssd2/files/patch-configure.ac')
-rw-r--r-- | security/sssd2/files/patch-configure.ac | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/security/sssd2/files/patch-configure.ac b/security/sssd2/files/patch-configure.ac index e0f0edfceff9..d31c643970dd 100644 --- a/security/sssd2/files/patch-configure.ac +++ b/security/sssd2/files/patch-configure.ac @@ -9,43 +9,3 @@ m4_include([src/build_macros.m4]) BUILD_WITH_SHARED_BUILD_DIR -@@ -67,7 +65,20 @@ AM_CONDITIONAL([HAVE_PTHREAD], [test x"$HAVE_PTHREAD" - LIBS=$SAVE_LIBS - AM_CONDITIONAL([HAVE_PTHREAD], [test x"$HAVE_PTHREAD" != "x"]) - -+saved_CFLAGS="$CFLAGS" -+CFLAGS="-Werror" -+AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM([[#include <string.h>]], -+ [[(void)mempcpy(NULL, NULL, 0);]])], -+ [AC_DEFINE([HAVE_MEMPCPY], [1], [mempcpy() available]) -+ HAVE_MEMPCPY=1 -+ ], -+ [AC_MSG_WARN([mempcpy() not found, will use private implementation])]) - -+CFLAGS="$saved_CFLAGS" -+ -+AM_CONDITIONAL([HAVE_MEMPCPY], [test x"$HAVE_MEMPCPY" != "x"]) -+ - SAVE_LIBS=$LIBS - LIBS= - AC_LINK_IFELSE( -@@ -223,7 +234,6 @@ m4_include([src/external/libkeyutils.m4]) - m4_include([src/external/crypto.m4]) - m4_include([src/external/nsupdate.m4]) - m4_include([src/external/libkeyutils.m4]) --m4_include([src/external/libkrad.m4]) - m4_include([src/external/libnl.m4]) - m4_include([src/external/systemd.m4]) - m4_include([src/external/pac_responder.m4]) -@@ -390,8 +400,8 @@ them please use argument --without-python3-bindings wh - AM_CHECK_PYTHON_HEADERS([], - AC_MSG_ERROR([Could not find python3 headers])) - -- AC_SUBST([py3execdir], [$pyexecdir]) -- AC_SUBST([python3dir], [$pythondir]) -+ AC_SUBST([py3execdir], [$(eval echo $pyexecdir)]) -+ AC_SUBST([python3dir], [$(eval echo $pythondir)]) - AC_SUBST([PYTHON3_CFLAGS], [$PYTHON_CFLAGS]) - AC_SUBST([PYTHON3_LIBS], [$PYTHON_LIBS]) - AC_SUBST([PYTHON3_INCLUDES], [$PYTHON_INCLUDES]) |