lang/perl-www-curl: Properly link against libcurl
authorMarcel Denia <[email protected]>
Wed, 23 Jul 2014 06:28:56 +0000 (08:28 +0200)
committerMarcel Denia <[email protected]>
Wed, 23 Jul 2014 07:32:45 +0000 (09:32 +0200)
Signed-off-by: Marcel Denia <[email protected]>
lang/perl-www-curl/patches/200-fix_default_lflags.patch [new file with mode: 0644]

diff --git a/lang/perl-www-curl/patches/200-fix_default_lflags.patch b/lang/perl-www-curl/patches/200-fix_default_lflags.patch
new file mode 100644 (file)
index 0000000..f51eaf5
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -39,7 +39,7 @@ repository           'http://github.com/szbalint/
+ #print "The version is $version\n";
+ my @includes = qw();
+-my ($cflags,$lflags, $ldflags) = ('','','');
++my ($cflags,$lflags, $ldflags) = ('','-lcurl','');
+ # You may need to specify where to find curl.h on your platform
+ # These are guesses only, in case curl-config is not telling us.