]> git.pld-linux.org Git - packages/libdbi-drivers.git/commitdiff
- Release: 2 auto/ac/libdbi-drivers-0_7_1-2
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 21 Jan 2004 14:42:07 +0000 (14:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Pass all library/include directories to %configure to workaround
  stupid autoconf tests (that search for files not libraries)

Changed files:
    libdbi-drivers.spec -> 1.5

libdbi-drivers.spec

index 3cd431aa4dd19335141fe57da2b17e0d5cd2cd70..11686ffa89f773147a3db7d726c75508dce96338 100644 (file)
@@ -9,7 +9,7 @@ Summary:        Database Independent Abstraction Layer for C
 Summary(pl):   Warstwa DBI dla C
 Name:          libdbi-drivers
 Version:       0.7.1
-Release:       1
+Release:       2
 License:       LGPL
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/libdbi-drivers/libdbi-drivers-%{version}.tar.gz
@@ -105,9 +105,21 @@ zmiany 
 %configure \
        --disable-static \
        --with-dbi-incdir=%{_includedir} \
-       %{?with_sqlite:--with-sqlite} \
-       %{?with_mysql:--with-mysql} \
-       %{?with_pgsql:--with-pgsql}
+%if %{with sqlite}
+       --with-sqlite \
+       --with-sqlite-libdir=%{_libdir} \
+       --with-sqlite-incdir=%{_includedir} \
+%endif
+%if %{with mysql}
+       --with-mysql \
+       --with-mysql-libdir=%{_libdir} \
+       --with-mysql-incdir=%{_includedir} \
+%endif
+%if %{with pgsql}
+       --with-pgsql \
+       --with-pgsql-libdir=%{_libdir} \
+       --with-pgsql-incdir=%{_includedir} 
+%endif
 %{__make}
 
 %install
This page took 0.124241 seconds and 4 git commands to generate.