]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- bcond for kerberos support /changes by Pawel Sikora/
authorwrobell <wrobell@pld-linux.org>
Sat, 15 Nov 2003 16:37:03 +0000 (16:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql.spec -> 1.232

postgresql.spec

index f3d8d400068c187d98ff33dd3112bb88c7d4e8bd..bf9118da191d4c31cdfcdfb9d5491e31a3cc724b 100644 (file)
 #
 # Conditional build:
 %bcond_without tcl                     # disables Tcl support
+%bcond_without kerberos5       # disable kerberos5 support
 %bcond_with    jdbc                    # enable JDBC driver
 %bcond_with    absolute_dbpaths        # enable absolute paths to create database
-                                       # (disabled by default because it is a security risk)
+                                                               # (disabled by default because it is a security risk)
 
 %include       /usr/lib/rpm/macros.python
  
@@ -53,7 +54,7 @@ URL:          http://www.postgresql.org/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison >= 1.875
-BuildRequires: heimdal-devel
+%{?with_kerberos5:BuildRequires:       heimdal-devel}
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: openssl-devel >= 0.9.7c
 BuildRequires: pam-devel
@@ -777,7 +778,7 @@ rm -f config/libtool.m4
        %{?with_tcl:--with-tk} \
        --with-perl \
        --with-python \
-       --with-krb5=%{_prefix} \
+       %{?with_kerberos5:--with-krb5=%{_prefix}} \
        --with-openssl \
        --with-x \
 %{?_with_jdbc: --with-java}
This page took 0.114798 seconds and 4 git commands to generate.