Author: mmazur                       Date: Sat Feb 20 11:14:52 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- four more bconds

---- Files affected:
packages/ptlib:
   ptlib.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/ptlib/ptlib.spec
diff -u packages/ptlib/ptlib.spec:1.16 packages/ptlib/ptlib.spec:1.17
--- packages/ptlib/ptlib.spec:1.16      Thu Feb 18 18:19:14 2010
+++ packages/ptlib/ptlib.spec   Sat Feb 20 12:14:47 2010
@@ -3,8 +3,12 @@
 #      IPv6 support disabled ('NULL' undeclared)
 #
 # Conditional build:
+%bcond_without http            # Disable http support
+%bcond_without ipv6            # Disable ipv6 support
 %bcond_without odbc            # Disable ODBC support
 %bcond_without plugins         # Disable plugins support
+%bcond_without resolver        # Disable resolver support
+%bcond_without openssl         # Disable openssl support
 %bcond_without video           # Disable video support
 #
 Summary:       Portable Tools Library
@@ -28,7 +32,7 @@
 #BuildRequires:        libavc1394-devel
 #BuildRequires:        libdc1394-devel < 2.0.0
 BuildRequires: libstdc++-devel
-BuildRequires: openssl-devel
+%{?with_openssl:       BuildRequires:  openssl-devel}
 BuildRequires: pkgconfig
 %{?with_odbc:BuildRequires:    unixODBC-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -175,10 +179,20 @@
                --disable-v4l2 \
                --disable-v4l \
 %endif
-               --%{?with_video:en}%{!?with_video:dis}able-video \
-               --%{?with_odbc:en}%{!?with_odbc:dis}able-odbc \
+%if %{with http}
+               --enable-http \
                --enable-httpforms \
                --enable-httpsvc \
+%else
+               --disable-http \
+               --disable-httpforms \
+               --disable-httpsvc \
+%endif
+               --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
+               --%{?with_odbc:en}%{!?with_odbc:dis}able-odbc \
+               --%{?with_resolver:en}%{!?with_resolver:dis}able-resolver \
+               --%{?with_openssl:en}%{!?with_openssl:dis}able-openssl \
+               --%{?with_video:en}%{!?with_video:dis}able-video \
                --disable-avc \
                --disable-dc \
                --enable-debug
@@ -272,6 +286,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2010/02/20 11:14:47  mmazur
+- four more bconds
+
 Revision 1.16  2010/02/18 17:19:14  mmazur
 - removed obsolete/nonexistant ./configure flags
 - added bconds: odbc plugins video
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ptlib/ptlib.spec?r1=1.16&r2=1.17&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to