ソースを参照

modifying package: perl-dbi-5.10.0 20080210 -> 20080211

Ralf S. Engelschall 18 年 前
コミット
16193b2621
1 ファイル変更5 行追加5 行削除
  1. 5 5
      perl-dbi/perl-dbi.spec

+ 5 - 5
perl-dbi/perl-dbi.spec

@@ -36,7 +36,7 @@
 %define       V_dbd_sprite      0.59
 %define       V_dbd_sqlite      1.14
 %define       V_dbd_mysql       4.006
-%define       V_dbd_pgsql       1.49
+%define       V_dbd_pgsql       2.0.0
 %define       V_dbd_oracle      1.20
 %define       V_dbd_sybase      1.08
 %define       V_dbd_odbc        1.15
@@ -54,7 +54,7 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20080210
+Release:      20080211
 
 #   package options
 %option       with_dbd_sqlite  yes
@@ -318,12 +318,12 @@ AutoReqProv:  no
 %if "%{with_dbd_pgsql}" == "yes"
     #   build DBD::Pg
     ( cd DBD-Pg-%{V_dbd_pgsql}
-      %{l_shtool} subst \
-          -e 's;/include;/include/postgresql;' \
           -e 's;-lpq;-lpq -lssl -lcrypto -lcrypt;' \
           Makefile.PL
       POSTGRES_HOME=%{l_prefix}
-      export POSTGRES_HOME
+      POSTGRES_INCLUDE=%{l_prefix}/include/postgresql
+      POSTGRES_LIB=%{l_prefix}/lib
+      export POSTGRES_HOME POSTGRES_INCLUDE POSTGRES_LIB
       %{l_prefix}/bin/perl-openpkg configure build install
     ) || exit $?
 %endif