|
|
@@ -44,7 +44,7 @@ Class: BASE
|
|
|
Group: Database
|
|
|
License: GPL
|
|
|
Version: %{V_postgresql}rc%{V_postgresql_rc}
|
|
|
-Release: 20050106
|
|
|
+Release: 20050110
|
|
|
|
|
|
# package options
|
|
|
%option with_server yes
|
|
|
@@ -246,6 +246,9 @@ Provides: postgresql = %{version}
|
|
|
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}
|