OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 20-Feb-2004 13:56:37
Branch: HEAD Handle: 2004022012563700
Modified files:
openpkg-src/postgresql postgresql.spec
Log:
modifying package: postgresql-7.4.1 20040207 -> 20040220
Summary:
Revision Changes Path
1.90 +10 -4 openpkg-src/postgresql/postgresql.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/postgresql/postgresql.spec
============================================================================
$ cvs diff -u -r1.89 -r1.90 postgresql.spec
--- openpkg-src/postgresql/postgresql.spec 7 Feb 2004 17:58:05 -0000 1.89
+++ openpkg-src/postgresql/postgresql.spec 20 Feb 2004 12:56:37 -0000 1.90
@@ -26,7 +26,7 @@
# package versions
%define V_postgresql 7.4.1
%define V_libpqpp 4.0
-%define V_libpqxx 2.1.3
+%define V_libpqxx 2.2.0
%define V_pgperl 2.0.2
%define V_psqlodbc 07.03.0200
@@ -41,7 +41,7 @@
Group: Database
License: GPL
Version: %{V_postgresql}
-Release: 20040207
+Release: 20040220
# package options
%option with_cxx no
@@ -195,6 +195,14 @@
) || exit $?
ln -s `pwd`/src/interfaces/libpq/*.h src/include/
( cd libpqxx-%{V_libpqxx}
+ ( echo "#!/bin/sh"
+ echo "case \"\$1\" in"
+ echo " --includedir ) echo \"`pwd`/../src/include\" ;;"
+ echo " --libdir ) echo \"`pwd`/../src/interfaces/libpq\" ;;"
+ echo "esac"
+ ) >pg_config
+ chmod a+x pg_config
+ export PG_CONFIG=`pwd`/pg_config
export CC="%{l_cc}"
export CXX="%{l_cxx}"
export CFLAGS="%{l_cflags -O}"
@@ -203,8 +211,6 @@
export LDFLAGS="%{l_ldflags}"
export LIBS="-lssl -lcrypto -lcrypt"
./configure \
- --with-postgres-lib=`pwd`/../src/interfaces/libpq \
- --with-postgres-include=`pwd`/../src/include \
--disable-shared
%{l_make} %{l_mflags -O}
) || exit $?
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]