|
|
@@ -54,7 +54,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20080303
|
|
|
+Release: 20080307
|
|
|
|
|
|
# package options
|
|
|
%option with_dbd_sqlite yes
|
|
|
@@ -318,7 +318,8 @@ AutoReqProv: no
|
|
|
%if "%{with_dbd_pgsql}" == "yes"
|
|
|
# build DBD::Pg
|
|
|
( cd DBD-Pg-%{V_dbd_pgsql}
|
|
|
- -e 's;-lpq;-lpq -lssl -lcrypto -lcrypt;' \
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;POSTGRES_LIB -lpq;POSTGRES_LIB -lpq -lssl -lcrypto -lcrypt;' \
|
|
|
Makefile.PL
|
|
|
POSTGRES_HOME=%{l_prefix}
|
|
|
POSTGRES_INCLUDE=%{l_prefix}/include/postgresql
|