summaryrefslogtreecommitdiff
path: root/devel/bennugd-core/files/patch-configure
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-01-20 01:34:31 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-01-20 01:34:31 +0000
commitc954c5e1a6759c7b74e7d75102cfd51a5abbab8e (patch)
tree676085175e67aa4512972a2e1f519a7422a561de /devel/bennugd-core/files/patch-configure
parent- Update to 3.0.9 (diff)
- Update to svn20130912
- Support staging - Fix build on 10.x
Diffstat (limited to 'devel/bennugd-core/files/patch-configure')
-rw-r--r--devel/bennugd-core/files/patch-configure67
1 files changed, 11 insertions, 56 deletions
diff --git a/devel/bennugd-core/files/patch-configure b/devel/bennugd-core/files/patch-configure
index e13174f974ea..ffb1a17e484d 100644
--- a/devel/bennugd-core/files/patch-configure
+++ b/devel/bennugd-core/files/patch-configure
@@ -1,60 +1,15 @@
---- configure.orig 2009-07-22 06:02:45.000000000 +0400
-+++ configure 2009-11-06 06:00:29.000000000 +0300
-@@ -10929,7 +10929,7 @@
- COMMON_LDFLAGS="-L/usr/i586-mingw32msvc/lib -lshlwapi"
+--- configure.orig 2013-01-06 05:50:56.000000000 +0400
++++ configure 2013-09-12 05:48:18.186226351 +0400
+@@ -11277,10 +11277,10 @@
+ USE_OPENSSL=no
;;
- dragonfly*)
-+ freebsd* | dragonfly*)
++ dragonfly* | freebsd*)
INCLUDES="-I/usr/local/include"
- COMMON_CFLAGS="-Wall -DTARGET_BSD"
- COMMON_LDFLAGS="-L/usr/local/lib -lpthread"
-@@ -12461,13 +12461,13 @@
- { (exit 1); exit 1; }; }
- fi
-
--{ $as_echo "$as_me:$LINENO: checking for des_ecb_encrypt in -ldes" >&5
--$as_echo_n "checking for des_ecb_encrypt in -ldes... " >&6; }
-+{ $as_echo "$as_me:$LINENO: checking for des_ecb_encrypt in -lcrypto" >&5
-+$as_echo_n "checking for des_ecb_encrypt in -lcrypto... " >&6; }
- if test "${ac_cv_lib_des_des_ecb_encrypt+set}" = set; then
- $as_echo_n "(cached) " >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-ldes $LIBS"
-+LIBS="-lcrypto $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
-@@ -12481,11 +12481,11 @@
- #ifdef __cplusplus
- extern "C"
- #endif
--char des_ecb_encrypt ();
-+char DES_ecb_encrypt ();
- int
- main ()
- {
--return des_ecb_encrypt ();
-+return DES_ecb_encrypt();
- ;
- return 0;
- }
-@@ -12587,7 +12587,7 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
--#include <des.h>
-+#include <openssl/des.h>
- _ACEOF
- if { (ac_try="$ac_cpp conftest.$ac_ext"
- case "(($ac_try" in
-@@ -12655,7 +12655,7 @@
-
- fi
- if test "x$ac_cv_header_des_h" = x""yes; then
-- DESLIBS="-ldes"
-+ DESLIBS="-lcrypto"
- fi
-
-
+ COMMON_CFLAGS="-Wall -DTARGET_BSD -DUSE_OPENSSL"
+- COMMON_LDFLAGS="-L/usr/local/lib -lpthread"
++ COMMON_LDFLAGS="-L/usr/local/lib -pthread"
+ LIBSSL="crypto"
+ USE_OPENSSL=yes
+ ;;