]> arthur.barton.de Git - netatalk.git/blob - contrib/misc/libevent.patch
Fix distcheck error caused by pkgconfig stuff
[netatalk.git] / contrib / misc / libevent.patch
1 diff --git a/libevent/Makefile.am b/libevent/Makefile.am
2 index 09505bd..8114ad3 100644
3 --- a/libevent/Makefile.am
4 +++ b/libevent/Makefile.am
5 @@ -86,9 +86,6 @@ if INSTALL_LIBEVENT
6  dist_bin_SCRIPTS = event_rpcgen.py
7  endif
8  
9 -pkgconfigdir=$(libdir)/pkgconfig
10 -LIBEVENT_PKGCONFIG=libevent.pc
11 -
12  # These sources are conditionally added by configure.in or conditionally
13  # included from other files.
14  PLATFORM_DEPENDENT_SRC = \
15 @@ -108,16 +105,13 @@ EXTRA_DIST = \
16  LIBEVENT_LIBS_LA = libevent.la libevent_core.la libevent_extra.la
17  if PTHREADS
18  LIBEVENT_LIBS_LA += libevent_pthreads.la
19 -LIBEVENT_PKGCONFIG += libevent_pthreads.pc
20  endif
21  if OPENSSL
22  LIBEVENT_LIBS_LA += libevent_openssl.la
23 -LIBEVENT_PKGCONFIG += libevent_openssl.pc
24  endif
25  
26  if INSTALL_LIBEVENT
27  lib_LTLIBRARIES = $(LIBEVENT_LIBS_LA)
28 -pkgconfig_DATA = $(LIBEVENT_PKGCONFIG)
29  else
30  noinst_LTLIBRARIES =  $(LIBEVENT_LIBS_LA)
31  endif
32 @@ -196,7 +190,7 @@ NO_UNDEFINED =
33  MAYBE_CORE =
34  endif
35  
36 -GENERIC_LDFLAGS = -version-info $(VERSION_INFO) $(RELEASE) $(NO_UNDEFINED)
37 +GENERIC_LDFLAGS = -static
38  
39  libevent_la_SOURCES = $(CORE_SRC) $(EXTRA_SRC)
40  libevent_la_LIBADD = @LTLIBOBJS@ $(SYS_LIBS)
41 @@ -249,5 +243,7 @@ doxygen: FORCE
42         doxygen $(srcdir)/Doxyfile
43  FORCE:
44  
45 -DISTCLEANFILES = *~ libevent.pc ./include/event2/event-config.h
46 +DISTCLEANFILES = *~ ./include/event2/event-config.h
47 +
48 +install:
49