]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- added pgsql_disable_* macros for disabling locale and multibyte support
authormis <mis@pld-linux.org>
Mon, 20 Nov 2000 10:46:34 +0000 (10:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed non-existing --enable-unicode-conversion option

Changed files:
    postgresql.spec -> 1.75

postgresql.spec

index 2a88a18461ef6cf7fa76ccfbae61e07149230881..67e54d35a4e0e79639ffb79f1d823c022708f89b 100644 (file)
@@ -539,10 +539,8 @@ rm -fR `find contrib/ -type d -name CVS`
 PATH=$PATH:. ; export PATH
 cd src
 
-
-# NOTE: this doesn't work. 
-#CONFIGURE_OPT=%{pgsql_with_locale?: "--enable-locale"}
-#CONFIGURE_OPT="$CONFIGURE_FLAGS %{pgsql_with_unicode?: --with-mulitbyte=UNICODE}"
+ENABLE_LOCALE="%{!?pgsql_disable_locale:--enable-locale}"
+ENABLE_MULTIBYTE="%{!?pgsql_disable_multibyte:--enable-multibyte}"
 
 aclocal
 autoconf
@@ -552,9 +550,6 @@ autoconf
 %else
        --with-template=linux_%{_target_cpu} \
 %endif
-  --enable-locale \
-  --enable-multibyte \
-  --enable-unicode-conversion \
        --enable-hba \
        --with-odbc \
        --with-odbcinst=%{_sysconfdir} \
@@ -562,7 +557,7 @@ autoconf
        --with-tk \
        --with-python \
        --with-x \
-       --with-perl $CONFIGURE_OPT
+       --with-perl $ENABLE_LOCALE $ENABLE_MULTIBYTE
 
 %{__make} OPT="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" \
          TEMPLATEDIR=%{_libdir}/pgsql
This page took 0.229069 seconds and 4 git commands to generate.