On Sun, Sep 13, 2009 at 01:34:50PM +0000, Christian Weisgerber wrote: > Stuart Henderson <st...@openbsd.org> wrote: > > > > (Imported as devel/libev.) > > > This installs an event.h include file that shadows /usr/include/event.h. > > > > What's the right thing to do here, move it to a subdirectory e.g. > > /usr/local/include/libev? > > event.h is provided for libev's libevent compatibility emulation > layer, i.e., some programs that use libevent can instead be made > to use libev. > > Do we need this? > > If we don't, then we can simply not install event.h.
Well, headers (system one and provided one) are a bit different, but i3 still builds if using system event.h. So the libev one can be @commented. Landry
? libev-fix-includedir-path.diff Index: Makefile =================================================================== RCS file: /cvs/ports/devel/libev/Makefile,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Makefile --- Makefile 2 Sep 2009 19:19:43 -0000 1.1.1.1 +++ Makefile 13 Sep 2009 14:05:17 -0000 @@ -4,6 +4,7 @@ DISTNAME = libev-3.8 CATEGORIES = devel +PKGNAME = ${DISTNAME}p0 MAINTAINER = Bapt <baptiste.darous...@gmail.com> Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/libev/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 PLIST --- pkg/PLIST 2 Sep 2009 19:19:43 -0000 1.1.1.1 +++ pkg/PLIST 13 Sep 2009 14:05:17 -0000 @@ -2,7 +2,7 @@ %%SHARED%% include/ev++.h include/ev.h -include/event.h +...@comment include/event.h lib/libev.a lib/libev.la @man man/man3/ev.3