Репозитории ALT
S: | 1.92-alt1 |
5.1: | 1.35-alt2 |
4.1: | 1.33_01-alt1 |
4.0: | 1.25-alt3.1 |
3.0: | 1.25-alt3 |
Группа :: Разработка/Perl
Пакет: perl-Net-SSLeay
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: perl-Net-SSLeay-1.25-alt-makefile.patch
Скачать
Скачать
--- Net_SSLeay.pm-1.25/Makefile.PL- 2003-08-17 07:12:55 +0000
+++ Net_SSLeay.pm-1.25/Makefile.PL 2003-10-17 12:29:36 +0000
@@ -32,6 +32,7 @@ die $usage if grep /^--?[hv?]/i, @ARGV;
use ExtUtils::MakeMaker;
use Config;
+if (0) {
$windows = shift if $ARGV[0] eq '-windows';
$rsaref = shift if $ARGV[0] eq '-rsaref';
$make_it = shift if $ARGV[0] eq '-m';
@@ -39,9 +40,12 @@ $test_it = shift if $ARGV[0] eq '-t';
$debug = $test_it = shift if $ARGV[0] eq '-d';
$optimize = '-O';
$optimize = shift if $ARGV[0] eq '-g';
+}
# It seems at least Redhat installs OpenSSL in /usr ...
$openssl_path = '/usr' if -x '/usr/bin/openssl' || -x '/usr/sbin/openssl';
+
+if (0) {
$openssl_path = '/opt/ssl' if -x '/opt/ssl/bin/openssl'
|| -x '/opt/ssl/sbin/openssl';
$openssl_path = '/usr/local/ssl' if -x '/usr/local/ssl/bin/openssl';
@@ -49,6 +53,7 @@ $openssl_path = '/apps/openssl/std' if -
$openssl_path = shift if @ARGV && $ARGV[0] ne '--';
shift if $ARGV[0] eq '--'; # Rest of args are for MakeMaker
+}
$openssl_vers = '0.9.6j';
$openssl_vers2 = '0.9.7b';
@@ -116,7 +121,7 @@ if ($windows) {
$libs = "-llibeay32 -lssleay32";
warn "Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. (Currently I do not have a way to check this on Windows platform.)\n";
-} else {
+} elsif (0) {
### There is some confusion over the correct ordering
### of these libraries. Tarang Kumar Patel <mombasa@ptolemy.arc.nasa.gov>
### reports this order to work on Solaris 7 and openssl-0.9.6b