OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 10-Jan-2005 15:32:28
Branch: HEAD Handle: 2005011014322700
Modified files:
openpkg-src/postgresql postgresql.spec
Log:
correct libpqcxx configure logic when trying to link a test program
with libpq
Summary:
Revision Changes Path
1.127 +4 -1 openpkg-src/postgresql/postgresql.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/postgresql/postgresql.spec
============================================================================
$ cvs diff -u -r1.126 -r1.127 postgresql.spec
--- openpkg-src/postgresql/postgresql.spec 6 Jan 2005 09:30:13 -0000
1.126
+++ openpkg-src/postgresql/postgresql.spec 10 Jan 2005 14:32:27 -0000
1.127
@@ -43,7 +43,7 @@
Group: Database
License: GPL
Version: %{V_postgresql}
-Release: 20050106
+Release: 20050110
# package options
%option with_server yes
@@ -244,6 +244,9 @@
export CPPFLAGS="-I`pwd`/../src/include %{l_cppflags}"
export LDFLAGS="%{l_ldflags}"
export LIBS="-lssl -lcrypto -lcrypt"
+ case "%{l_platform -t}" in
+ *-sunos* ) LIBS="$LIBS -lsocket -lnsl" ;;
+ esac
./configure \
--disable-shared
%{l_make} %{l_mflags -O}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]