www/lighttpd failes to build
Sahil Tandon
sahil+freebsd-ports at tandon.net
Wed Dec 14 03:02:48 UTC 2011
On Sun, 2011-12-11 at 15:06:07 -0500, Chris Brennan wrote:
> /usr/local/include/ev.h:200: warning: ISO C restricts enumerator values to
> range of 'int'
> /usr/local/include/ev.h:222: error: expected identifier before numeric
> constant
> *** Error code 1
Ah, it seems you are building lighttpd WITH_LIBEV, in which case the
build is reproducibly broken in my environment. You should either build
WITHOUT_LIBEV (this is the default), or - if you must build with that
option - try the attached CONFIGURE_ARGS hack[1]. I am not certain
that the latter is a robust solution, so perhaps mm@ can chime in with a
more structural fix. I've also copied the devel/libev maintainer as
this problem may be related to how lighttpd interacts with the new libev
version.
[1] https://svn.macports.org/changeset/84337
--
Sahil Tandon
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/lighttpd/Makefile,v
retrieving revision 1.102
diff -u -r1.102 Makefile
--- Makefile 23 Sep 2011 22:26:02 -0000 1.102
+++ Makefile 14 Dec 2011 02:54:22 -0000
@@ -127,7 +127,7 @@
.endif
.if defined(WITH_LIBEV)
-CONFIGURE_ARGS+= --with-libev=${LOCALBASE}
+CONFIGURE_ARGS+= --with-libev=${LOCALBASE} ac_cv_func_kqueue=no
LIB_DEPENDS+= ev.4:${PORTSDIR}/devel/libev
.endif
More information about the freebsd-ports
mailing list