[packages/apache-mod_rails] use system libev
glen
glen at pld-linux.org
Wed May 1 19:57:44 CEST 2013
commit 2b222840bf2f6613bd4789687e8a21dff99f13e9
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed May 1 20:57:37 2013 +0300
use system libev
apache-mod_rails.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/apache-mod_rails.spec b/apache-mod_rails.spec
index 84fa2d5..8c022f7 100644
--- a/apache-mod_rails.spec
+++ b/apache-mod_rails.spec
@@ -13,7 +13,7 @@
Summary: A module to bridge Ruby on Rails to Apache
Name: apache-mod_rails
Version: 3.0.19
-Release: 0.1
+Release: 0.2
# Passenger code uses MIT license.
# Bundled(Boost) uses Boost Software License
# BCrypt and Blowfish files use BSD license.
@@ -34,6 +34,7 @@ BuildRequires: apr-devel >= 1:1.0.0
BuildRequires: apr-util-devel >= 1:1.0.0
#BuildRequires: asciidoc
BuildRequires: curl-devel
+BuildRequires: libev-devel
BuildRequires: libstdc++-devel
BuildRequires: openssl-devel
BuildRequires: pkgconfig
@@ -72,8 +73,10 @@ Dokumentacji w formacie ri dla Apache mod_rails.
%patch1 -p0
%patch2 -p0
+# Don't use bundled libev
+rm -r ext/libev
+
%build
-(cd ext/libev; %{__autoconf})
cat > fake-httpd <<EOF
#!/bin/sh
@@ -81,6 +84,7 @@ echo Apache/$(rpm -q apache-devel --qf '%{V}')
EOF
chmod a+rx fake-httpd
+USE_VENDORED_LIBEV=false \
rake apache2 V=1 \
RELEASE=yes \
OPTIMIZE=yes \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_rails.git/commitdiff/2b222840bf2f6613bd4789687e8a21dff99f13e9
More information about the pld-cvs-commit
mailing list