diff -Nurd -x'*~' Crypt-OpenSSL-RSA-0.31.orig/Makefile.PL Crypt-OpenSSL-RSA-0.31/Makefile.PL --- Crypt-OpenSSL-RSA-0.31.orig/Makefile.PL 2018-09-24 13:21:49.000000000 -0400 +++ Crypt-OpenSSL-RSA-0.31/Makefile.PL 2020-01-02 04:37:07.000000000 -0500 @@ -3,7 +3,6 @@ use 5.006; use ExtUtils::MakeMaker 6.48; -use Crypt::OpenSSL::Guess qw(openssl_inc_paths openssl_lib_paths); # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. @@ -22,11 +21,11 @@ 'Test::More' => 0, }, 'OBJECT' => 'RSA.o', - 'LIBS' => [openssl_lib_paths() . ' -lssl -lcrypto'], + 'LIBS' => ['-L@PREFIX@/lib -lssl -lcrypto'], 'DEFINE' => '-DPERL5 -DOPENSSL_NO_KRB5', # perl-5.8/gcc-3.2 needs -DPERL5, and redhat9 likes -DOPENSSL_NO_KRB5 - 'INC' => openssl_inc_paths(), # e.g., '-I/usr/include/other' + 'INC' => '-I@PREFIX@/include', # e.g., '-I/usr/include/other' 'dist' => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, 'clean' => { FILES => 'Crypt-OpenSSL-RSA-*' },