Skip Menu |

This queue is for tickets about the Net-Libproxy CPAN distribution.

Report information
The Basics
Id: 122419
Status: open
Priority: 0/
Queue: Net-Libproxy

People
Owner: Nobody in particular
Requestors: DDICK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: (no value)



Subject: [PATCH] Makefile.PL fixes for rhel6
Hi, I've attached a patch to build Net::LibProxy on rhel6. Cheers David
Subject: libproxy_makefile.patch
diff -Naur old/Makefile.PL new/Makefile.PL --- old/Makefile.PL 2009-06-07 23:08:17.000000000 +1000 +++ new/Makefile.PL 2017-07-07 08:57:39.194497097 +1000 @@ -12,6 +12,8 @@ if ($^O ne 'MSWin32') { $lflags = `pkg-config libproxy-1.0 --libs`; + $cflags = `pkg-config libproxy-1.0 --cflags`; + $cflags =~ s/\s*$//smx; } # Let Module::Install generate META.yml and other necessary files. @@ -19,6 +21,6 @@ 'NAME' => 'Net::Libproxy', 'VERSION_FROM' => 'lib/Net/Libproxy.pm', # finds $VERSION 'LIBS' => "$ldflags $lflags", # e.g., '-lm' - 'INC' => "." + 'INC' => "$cflags .", );
On Mon Jul 10 07:40:19 2017, DDICK wrote: Show quoted text
> Hi, > > I've attached a patch to build Net::LibProxy on rhel6. > > Cheers > David
Hi, Thanks for the patch. The perl Binding is maintained upstream: https://github.com/libproxy/libproxy/tree/master/bindings/perl I guess I should remove the distribution from the CPAN.