فهرست منبع

make sure the correct OpenSSL is picked up

Ralf S. Engelschall 23 سال پیش
والد
کامیت
ff4a2efae9
1فایلهای تغییر یافته به همراه10 افزوده شده و 4 حذف شده
  1. 10 4
      perl-ssl/perl-ssl.spec

+ 10 - 4
perl-ssl/perl-ssl.spec

@@ -37,8 +37,8 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [BASE]
 Group:        Language
 License:      GPL/Artistic
-Version:      20021116
-Release:      20021116
+Version:      20021231
+Release:      20021231
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Net/Net_SSLeay.pm-%{V_net_ssleay}.tar.gz
@@ -48,8 +48,8 @@ Source2:      http://www.cpan.org/modules/by-module/IO/IO-Socket-SSL-%{V_io_sock
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, perl >= 5.8.0, openssl
-PreReq:       OpenPKG, openpkg >= 20020206, perl >= 5.8.0, openssl
+BuildPreReq:  OpenPKG, openpkg >= 20021230, perl >= 5.8.0, openssl
+PreReq:       OpenPKG, openpkg >= 20021230, perl >= 5.8.0, openssl
 AutoReq:      no
 AutoReqProv:  no
 
@@ -72,6 +72,12 @@ AutoReqProv:  no
     #   perform common prolog operations
     %{l_prefix}/bin/perl-openpkg prolog
 
+    #   special module preparations    
+    ( cd Crypt-SSLeay-%{V_crypt_ssleay}
+      %{l_shtool} subst \
+          -e 's;^\(my @POSSIBLE_SSL_DIRS = qw(\)[^)]*\().*\)$;\1%{l_prefix}\2;' \
+          Makefile.PL )
+
     #   build and install individual modules
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE0} %{l_prefix}
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE1} %{l_prefix}