ports/net/freeradius/patches/patch-configure

15 lines
689 B
Text

Don't allow picking up collectdclient, freeradius autoconf's smart
library detection doesn't offer a nice way to do it.
Index: configure
--- configure.orig
+++ configure
@@ -8432,7 +8432,7 @@ if test "x$smart_lib" != "x"; then
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
-if test "x$ac_cv_lib_collectdclient_lcc_connect" != "xyes"; then
+if true || test "x$ac_cv_lib_collectdclient_lcc_connect" != "xyes"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: collectdclient library not found. Use --with-collectdclient-lib-dir=<path>." >&5
printf "%s\n" "$as_me: WARNING: collectdclient library not found. Use --with-collectdclient-lib-dir=<path>." >&2;}
else