Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libevent Matthias Drochner pointed out that I lost the _...
details: https://anonhg.NetBSD.org/src/rev/484ac071dc09
branches: trunk
changeset: 746736:484ac071dc09
user: tls <tls%NetBSD.org@localhost>
date: Wed Aug 19 01:38:39 2009 +0000
description:
Matthias Drochner pointed out that I lost the _EVENT_ prefix from all
the autoconf defines in the installed event_config.h. Of course, the
libevent documentation basically says not to use event_config.h, so it
is a little hard to see why the right fix isn't to just not install it...
...in any event, fix this approximately as the stock libevent Makefile does.
diffstat:
lib/libevent/Makefile | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 9a893e47238b -r 484ac071dc09 lib/libevent/Makefile
--- a/lib/libevent/Makefile Wed Aug 19 00:31:16 2009 +0000
+++ b/lib/libevent/Makefile Wed Aug 19 01:38:39 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2009/07/26 21:33:46 tls Exp $
+# $NetBSD: Makefile,v 1.7 2009/08/19 01:38:39 tls Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93
NOLINT= # Until someone explains to me how to avoid lint stupidity
@@ -11,12 +11,9 @@
SRCS= buffer.c evbuffer.c evdns.c event.c event_tagging.c evrpc.c evutil.c \
http.c kqueue.c log.c poll.c signal.c
-INCS= evdns.h event.h evhttp.h evrpc.h evutil.h
+INCS= evdns.h event.h evhttp.h evrpc.h evutil.h event_config.h
INCSDIR=/usr/include
-INCS+= config.h
-INCSNAME_config.h= event-config.h
-
MAN= evdns.3 event.3
MLINKS+=event.3 event_init.3
@@ -92,4 +89,7 @@
MLINKS+=evdns.3 evdns_search_ndots_set.3
MLINKS+=evdns.3 evdns_set_log_fn.3
+event_config.h: config.h
+ sed -e 's/#define /#define _EVENT_/' ${.ALLSRC} > ${.OBJDIR}/${.TARGET}
+
.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index