]> git.pld-linux.org Git - packages/redland.git/commitdiff
- updated sed to support db up to 5.0
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 20 Nov 2010 10:02:55 +0000 (10:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- trick to use unixODBC instead of libiodbc for virtuoso driver

Changed files:
    redland.spec -> 1.69

redland.spec

index 202662b6547baafa062ed5d069d129d0e9f4807d..e7c0d60fdcf96805c88a4f7388bdc550c19a8d50 100644 (file)
@@ -31,6 +31,7 @@ BuildRequires:        rasqal-devel >= 1:0.9.19
 BuildRequires: rpmbuild(macros) >= 1.98
 BuildRequires: sed >= 4.0
 BuildRequires: sqlite3-devel >= 3
+BuildRequires: unixODBC-devel
 Requires:      libraptor >= 1.4.19
 Requires:      rasqal >= 1:0.9.19
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -151,7 +152,7 @@ RDF.
 %setup -q
 
 sed -i 's,bdbc_prefix/lib$,bdbc_prefix/%{_lib},' configure.ac
-sed -i 's,for bdbc_version in 4\.6,for bdbc_version in 4\.7 4\.6,' configure.ac
+sed -i 's,for bdbc_version in 4\.8,for bdbc_version in 5.0 4.8,' configure.ac
 
 %build
 %{__libtoolize}
@@ -161,12 +162,15 @@ sed -i 's,for bdbc_version in 4\.6,for bdbc_version in 4\.7 4\.6,' configure.ac
 %{__autoheader}
 %{__automake}
 %configure \
-       --enable-ltdl-install=no \
+       ac_cv_lib_iodbc_SQLConnect=no \
+       --disable-ltdl-install \
        --enable-modular \
-       --with-threads \
        --with-html-dir=%{_gtkdocdir} \
+       --with-odbc-inc=/usr/include \
+       --with-odbc-lib=/usr/%{_lib} \
        --with-raptor=system \
        --with-rasqal=system \
+       --with-threads \
        --with%{!?with_threestore:out}-threestore
 
 %{__make}
This page took 0.993079 seconds and 4 git commands to generate.