rpms/perl-Crypt-SSLeay/F-7 perl-Crypt-SSLeay-lib64.patch,1.1,1.2

Robin Norwood (rnorwood) fedora-extras-commits at redhat.com
Mon Aug 20 19:32:00 UTC 2007


Author: rnorwood

Update of /cvs/pkgs/rpms/perl-Crypt-SSLeay/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24161

Modified Files:
	perl-Crypt-SSLeay-lib64.patch 
Log Message:
forgot updated patch.

perl-Crypt-SSLeay-lib64.patch:

Index: perl-Crypt-SSLeay-lib64.patch
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Crypt-SSLeay/F-7/perl-Crypt-SSLeay-lib64.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- perl-Crypt-SSLeay-lib64.patch	9 Sep 2004 10:04:37 -0000	1.1
+++ perl-Crypt-SSLeay-lib64.patch	20 Aug 2007 19:31:57 -0000	1.2
@@ -1,16 +1,18 @@
---- Crypt-SSLeay-0.45/Makefile.PL.lib64	2002-11-21 11:47:36.000000000 -0500
-+++ Crypt-SSLeay-0.45/Makefile.PL	2002-11-21 11:55:08.000000000 -0500
-@@ -87,7 +87,12 @@
-     $SEP = "\\";
-     $LIBS = "-lssleay32 -llibeay32 -lRSAglue -lrsaref";
- } else {
--    $SSL_LIB = "-L".$SSL_DIR."/lib";
+--- Crypt-SSLeay-0.55/Makefile.PL.orig	2007-06-07 12:51:15.000000000 -0400
++++ Crypt-SSLeay-0.55/Makefile.PL	2007-06-07 12:53:20.000000000 -0400
+@@ -166,7 +166,14 @@
+ else {
+     push @INC_FLAGS, "-I$pkg_config->{inc}";
+ 
+-    push @LIB_FLAGS, "-L$SSL_DIR/lib", qw(-lssl -lcrypto -lgcc);
 +    if (-d "$SSL_DIR/lib64") {
-+      $SSL_LIB = "-L".$SSL_DIR."/lib64";
++      push @LIB_FLAGS, "-L".$SSL_DIR."/lib64";
 +    }
 +    else {
-+      $SSL_LIB = "-L".$SSL_DIR."/lib";
++      push @LIB_FLAGS, "-L".$SSL_DIR."/lib";
 +    }
-     $SEP = "/";
-     $LIBS = "-lssl -lcrypto -lgcc -lRSAglue -lrsaref";
++
++    push @LIB_FLAGS, qw(-lssl -lcrypto -lgcc);
+     push @LIB_FLAGS, qw(-lRSAglue -lrsaref) if $pkg_config->{type} ne 'OpenSSL';
  
+     # ccc on alpha support




More information about the fedora-extras-commits mailing list