--- Makefile.PL.orig 2017-11-09 13:47:56.000000000 -0800
+++ Makefile.PL 2017-11-11 04:53:38.000000000 -0800
-inc '-I/usr/local/opt/openssl/include -I/usr/include/openssl -I/usr/local/include/ssl -I/usr/local/ssl/include';
-libs '-L/usr/local/opt/openssl/lib -L/usr/lib -L/usr/local/lib -L/usr/local/ssl/lib -lcrypto -lssl';
+inc '-I@PREFIX@/include/ssl';
+libs '-L@PREFIX@/lib -lcrypto';
if ($Config::Config{myuname} =~ /darwin/i) {
- cc_optimize_flags('-O2 -g -Wall -Werror -Wno-deprecated-declarations');
+ cc_optimize_flags('-O2 -g -Wall -Wno-deprecated-declarations');
} elsif ($Config::Config{myuname} =~ /sunos|solaris/i) {
- cc_optimize_flags('-O2 -g -Wall -Werror');
+ cc_optimize_flags('-O2 -g -Wall');