OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 07-Dec-2006 09:26:58
Branch: HEAD Handle: 2006120708265700
Modified files:
openpkg-src/curl curl.spec
Log:
add optional ARES support
Summary:
Revision Changes Path
1.87 +11 -1 openpkg-src/curl/curl.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/curl/curl.spec
============================================================================
$ cvs diff -u -r1.86 -r1.87 curl.spec
--- openpkg-src/curl/curl.spec 30 Oct 2006 18:04:19 -0000 1.86
+++ openpkg-src/curl/curl.spec 7 Dec 2006 08:26:57 -0000 1.87
@@ -33,12 +33,13 @@
Group: Web
License: MIT-style
Version: 7.16.0
-Release: 20061030
+Release: 20061207
# package options
%option with_ssl yes
%option with_zlib yes
%option with_idn no
+%option with_ares no
# list of sources
Source0: http://curl.haxx.se/download/curl-%{version}.tar.bz2
@@ -60,6 +61,10 @@
BuildPreReq: libidn, pkgconfig
PreReq: libidn
%endif
+%if "%{with_ares}" == "yes"
+BuildPreReq: ares
+PreReq: ares
+%endif
AutoReq: no
AutoReqProv: no
@@ -119,6 +124,11 @@
%else
--without-libidn \
%endif
+%if "%{with_ares}" == "yes"
+ --enable-ares=%{l_prefix} \
+%else
+ --disable-ares \
+%endif
--disable-shared
%{l_make} %{l_mflags -O}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]