[84330] trunk/dports/www/lighttpd
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 22 13:02:37 PDT 2011
Revision: 84330
http://trac.macports.org/changeset/84330
Author: ryandesign at macports.org
Date: 2011-09-22 13:02:33 -0700 (Thu, 22 Sep 2011)
Log Message:
-----------
lighttpd: detect libev 4.x; see #31359
Modified Paths:
--------------
trunk/dports/www/lighttpd/Portfile
Added Paths:
-----------
trunk/dports/www/lighttpd/files/patch-configure.ac.diff
Modified: trunk/dports/www/lighttpd/Portfile
===================================================================
--- trunk/dports/www/lighttpd/Portfile 2011-09-22 19:49:32 UTC (rev 84329)
+++ trunk/dports/www/lighttpd/Portfile 2011-09-22 20:02:33 UTC (rev 84330)
@@ -26,6 +26,8 @@
checksums sha1 42915dffe2af4f870cc1cdc0218edb60a0a315c2 \
rmd160 5af6c848dd251c9d15f5185f54411744ae41c67b
+use_autoreconf yes
+
depends_build-append port:pkgconfig
depends_lib port:bzip2 \
@@ -33,7 +35,8 @@
port:spawn-fcgi \
port:zlib
-patchfiles patch-conf.diff
+patchfiles patch-conf.diff \
+ patch-configure.ac.diff
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" \
Added: trunk/dports/www/lighttpd/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/www/lighttpd/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/www/lighttpd/files/patch-configure.ac.diff 2011-09-22 20:02:33 UTC (rev 84330)
@@ -0,0 +1,11 @@
+--- configure.ac.orig (revision 2778)
++++ configure.ac (revision 2779)
+@@ -105,7 +105,7 @@
+ LIBEV_LIBS="-L$WITH_LIBEV/lib -lev"
+ else
+ AC_CHECK_HEADERS([ev.h],[
+- AC_CHECK_LIB([ev], [ev_loop], [
++ AC_CHECK_LIB([ev], [ev_time], [
+ LIBEV_CFLAGS=""
+ LIBEV_LIBS="-lev"
+ ],[
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110922/32a540c7/attachment.html>
More information about the macports-changes
mailing list