mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
20 lines
770 B
Text
20 lines
770 B
Text
--- build/openldap.m4.orig 2021-10-11 16:47:09 UTC
|
|
+++ build/openldap.m4
|
|
@@ -613,7 +613,7 @@ dnl ==================================================
|
|
dnl Look for fetch(3)
|
|
AC_DEFUN([OL_LIB_FETCH],
|
|
[ol_LIBS=$LIBS
|
|
-LIBS="-lfetch -lcom_err $LIBS"
|
|
+LIBS="-lfetch $LIBS"
|
|
AC_CACHE_CHECK([fetch(3) library],ol_cv_lib_fetch,[
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
|
#ifdef HAVE_SYS_PARAM_H
|
|
@@ -623,7 +623,7 @@ AC_CACHE_CHECK([fetch(3) library],ol_cv_lib_fetch,[
|
|
#include <fetch.h>]], [[struct url *u = fetchParseURL("file:///"); ]])],[ol_cv_lib_fetch=yes],[ol_cv_lib_fetch=no])])
|
|
LIBS=$ol_LIBS
|
|
if test $ol_cv_lib_fetch != no ; then
|
|
- ol_link_fetch="-lfetch -lcom_err"
|
|
+ ol_link_fetch="-lfetch"
|
|
AC_DEFINE(HAVE_FETCH,1,
|
|
[define if you actually have FreeBSD fetch(3)])
|
|
fi
|