packages (japhy-libevent1_on_th): libevent/libevent.spec - Patch Makefile.a...

japhy japhy at pld-linux.org
Fri Apr 15 12:48:46 CEST 2011


Author: japhy                        Date: Fri Apr 15 10:48:46 2011 GMT
Module: packages                      Tag: japhy-libevent1_on_th
---- Log message:
- Patch Makefile.am to let libevent 1 compile on Th

---- Files affected:
packages/libevent:
   libevent.spec (1.33 -> 1.33.2.1) 

---- Diffs:

================================================================
Index: packages/libevent/libevent.spec
diff -u packages/libevent/libevent.spec:1.33 packages/libevent/libevent.spec:1.33.2.1
--- packages/libevent/libevent.spec:1.33	Fri Sep 24 18:11:06 2010
+++ packages/libevent/libevent.spec	Fri Apr 15 12:48:41 2011
@@ -20,6 +20,7 @@
 Patch1:		%{name}.fb-changes.diff
 URL:		http://www.monkey.org/~provos/libevent/
 %{?with_dietlibc:BuildRequires:	dietlibc-static >= 2:0.31-5}
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # for some reason known only to rpm there must be "\\|" not "\|" here
@@ -78,8 +79,10 @@
 %setup -q -n %{name}-%{version}-stable
 %patch0 -p1
 %patch1 -p1
+sed -i~ '/libevent_extra_la_LIBADD/s/$/ -levent_core/' Makefile.am
 
 %build
+%{__automake}
 %if %{with dietlibc}
 %configure \
 	CC="diet %{__cc} %{rpmcflags} %{rpmldflags} -Os -D_BSD_SOURCE -D_EVENT_HAVE_FD_MASK" \
@@ -166,6 +169,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33.2.1  2011/04/15 10:48:41  japhy
+- Patch Makefile.am to let libevent 1 compile on Th
+
 Revision 1.33  2010/09/24 16:11:06  baggins
 - rel 2
 - there is no need to rebuild ac/am stuff
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libevent/libevent.spec?r1=1.33&r2=1.33.2.1&f=u



More information about the pld-cvs-commit mailing list