|
|
@@ -26,7 +26,7 @@
|
|
|
# package versions
|
|
|
%define V_postgresql 7.3.4
|
|
|
%define V_libpqpp 4.0
|
|
|
-%define V_libpqxx 1.5.1
|
|
|
+%define V_libpqxx 2.1.1
|
|
|
%define V_pgperl 2.0.2
|
|
|
%define V_psqlodbc 07.03.0200
|
|
|
|
|
|
@@ -40,7 +40,7 @@ Distribution: OpenPKG [BASE]
|
|
|
Group: Database
|
|
|
License: GPL
|
|
|
Version: %{V_postgresql}
|
|
|
-Release: 20031103
|
|
|
+Release: 20031116
|
|
|
|
|
|
# package options
|
|
|
%option with_cxx no
|
|
|
@@ -143,7 +143,7 @@ AutoReqProv: no
|
|
|
--disable-shared
|
|
|
|
|
|
# build package
|
|
|
- %{l_make} %{l_mflags -O}
|
|
|
+ %{l_make} %{l_mflags}
|
|
|
|
|
|
# build C++ bindings (both old and new one)
|
|
|
%if "%{with_cxx}" == "yes"
|
|
|
@@ -161,6 +161,7 @@ AutoReqProv: no
|
|
|
rm -f libpq++.a
|
|
|
ar rc libpq++.a $OBJS
|
|
|
) || exit $?
|
|
|
+ ln -s `pwd`/src/interfaces/libpq/*.h src/include/
|
|
|
( cd libpqxx-%{V_libpqxx}
|
|
|
export CC="%{l_cc}"
|
|
|
export CXX="%{l_cxx}"
|
|
|
@@ -171,7 +172,7 @@ AutoReqProv: no
|
|
|
export LIBS="-lssl -lcrypto -lcrypt"
|
|
|
./configure \
|
|
|
--with-postgres-lib=`pwd`/../src/interfaces/libpq \
|
|
|
- --with-postgres-include=`pwd`/../src/interfaces/libpq \
|
|
|
+ --with-postgres-include=`pwd`/../src/include \
|
|
|
--disable-shared
|
|
|
%{l_make} %{l_mflags -O}
|
|
|
) || exit $?
|