Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/unbound Build support for libevent.



details:   https://anonhg.NetBSD.org/src/rev/596cdea3f047
branches:  trunk
changeset: 352088:596cdea3f047
user:      roy <roy%NetBSD.org@localhost>
date:      Tue Mar 14 21:11:12 2017 +0000

description:
Build support for libevent.

diffstat:

 external/bsd/unbound/Makefile.inc     |   3 ++-
 external/bsd/unbound/include/config.h |  12 ++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r d2d42a17a375 -r 596cdea3f047 external/bsd/unbound/Makefile.inc
--- a/external/bsd/unbound/Makefile.inc Tue Mar 14 19:40:42 2017 +0000
+++ b/external/bsd/unbound/Makefile.inc Tue Mar 14 21:11:12 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2016/08/21 17:24:22 christos Exp $
+# $NetBSD: Makefile.inc,v 1.3 2017/03/14 21:11:12 roy Exp $
 
 USE_FORT?= yes  # network client/server
 UNBOUND:=${.PARSEDIR}/dist
@@ -12,6 +12,7 @@
 DPLIBS+= crypt ${NETBSDSRCDIR}/lib/libcrypt
 DPLIBS+= util ${NETBSDSRCDIR}/lib/libutil
 DPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread
+DPLIBS+= event ${NETBSDSRCDIR}/external/bsd/libevent/lib/libevent
 
 __subst: .USE
        ${TOOL_SED} \
diff -r d2d42a17a375 -r 596cdea3f047 external/bsd/unbound/include/config.h
--- a/external/bsd/unbound/include/config.h     Tue Mar 14 19:40:42 2017 +0000
+++ b/external/bsd/unbound/include/config.h     Tue Mar 14 21:11:12 2017 +0000
@@ -115,19 +115,19 @@
 #define HAVE_ENDSERVENT 1
 
 /* Define to 1 if you have the `event_base_free' function. */
-/* #undef HAVE_EVENT_BASE_FREE */
+#define HAVE_EVENT_BASE_FREE 1
 
 /* Define to 1 if you have the `event_base_get_method' function. */
-/* #undef HAVE_EVENT_BASE_GET_METHOD */
+#define HAVE_EVENT_BASE_GET_METHOD 1
 
 /* Define to 1 if you have the `event_base_new' function. */
-/* #undef HAVE_EVENT_BASE_NEW */
+#define HAVE_EVENT_BASE_NEW 1
 
 /* Define to 1 if you have the `event_base_once' function. */
-/* #undef HAVE_EVENT_BASE_ONCE */
+#define HAVE_EVENT_BASE_ONCE 1
 
 /* Define to 1 if you have the <event.h> header file. */
-/* #undef HAVE_EVENT_H */
+#define HAVE_EVENT_H 1
 
 /* Define to 1 if you have the `EVP_MD_CTX_new' function. */
 /* #undef HAVE_EVP_MD_CTX_NEW */
@@ -609,7 +609,7 @@
 #define USE_GOST 1
 
 /* Define if you want to use internal select based events */
-#define USE_MINI_EVENT 1
+/* #undef USE_MINI_EVENT */
 
 /* Define this to enable SHA256 and SHA512 support. */
 #define USE_SHA2 1



Home | Main Index | Thread Index | Old Index