freebsd-ports/security/heimdal/files/patch-configure
2017-06-10 19:32:46 +00:00

39 lines
1 KiB
Text

--- configure.orig 2017-04-11 21:56:39 UTC
+++ configure
@@ -16128,7 +16128,7 @@ case "$host" in
;;
*-*-freebsd*)
native_pthread_support=yes
- PTHREAD_LIBADD="-pthread"
+ PTHREAD_LIBADD="-lpthread"
;;
*-*-openbsd*)
native_pthread_support=yes
@@ -16364,7 +16364,7 @@ if ${ac_cv_funclib_db_create+:} false; t
$as_echo_n "(cached) " >&6
else
-if eval "test \"\$ac_cv_func_db_create\" != yes" ; then
+if eval "test \"\$ac_cv_func_db_create\" = yes" ; then
ac_save_LIBS="$LIBS"
for ac_lib in "" $dbheader db-5 db5 db4 db3 db; do
case "$ac_lib" in
@@ -16937,6 +16937,9 @@ esac
$as_echo "#define HAVE_NDBM 1" >>confdefs.h
have_ndbm=yes
+ if test "$db_type" = "unknown"; then
+ db_type=ndbm
+ fi
else
$as_unset ac_cv_func_dbm_firstkey
@@ -28688,7 +28691,7 @@ fi
krb_cv_compile_et="no"
krb_cv_com_err_need_r=""
-krb_cv_compile_et_cross=no
+krb_cv_compile_et_cross=yes
if test "${COMPILE_ET}" != "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compile_et has the features we need" >&5