forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
--- configure.orig 2010-11-14 22:59:14.000000000 -0800
|
|
+++ configure 2012-06-12 08:40:11.000000000 -0700
|
|
@@ -14174,6 +14174,14 @@
|
|
$as_echo "#define _WIN32_WINNT 0x501" >>confdefs.h
|
|
|
|
;;
|
|
+*freebsd*)
|
|
+ os_win32=no
|
|
+ NO_UNDEFINED=''
|
|
+ SOCKET_LIBS=''
|
|
+ DL_LIB=''
|
|
+ SOFTOKN3_LIB='-lsoftokn3'
|
|
+ LIBEXECDIR_IN_SERVER_FILE="$libexecdir"
|
|
+ ;;
|
|
*)
|
|
os_win32='no'
|
|
NO_UNDEFINED=''
|
|
@@ -16195,9 +16203,8 @@
|
|
fi
|
|
|
|
|
|
- ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" " #if HAVE_ET_COM_ERR_H
|
|
- #include <com_err.h>
|
|
- #endif
|
|
+ ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" " #include <stdio.h>
|
|
+ #include <stdarg.h>
|
|
|
|
"
|
|
if test "x$ac_cv_header_et_com_err_h" = x""yes; then :
|
|
@@ -16207,9 +16214,8 @@
|
|
fi
|
|
|
|
|
|
- ac_fn_c_check_header_compile "$LINENO" "com_err.h" "ac_cv_header_com_err_h" " #if HAVE_COM_ERR_H
|
|
- #include <com_err.h>
|
|
- #endif
|
|
+ ac_fn_c_check_header_compile "$LINENO" "com_err.h" "ac_cv_header_com_err_h" " #include <stdio.h>
|
|
+ #include <stdarg.h>
|
|
|
|
"
|
|
if test "x$ac_cv_header_com_err_h" = x""yes; then :
|