Selaa lähdekoodia

Fix for DBD::Pg build (ssl libs where missing in static linkage)

Steve Weinreich 17 vuotta sitten
vanhempi
commit
5558957bbf
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      perl-dbi/perl-dbi.spec

+ 3 - 2
perl-dbi/perl-dbi.spec

@@ -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