summaryrefslogtreecommitdiff
path: root/net/p5-Net-DNS
diff options
context:
space:
mode:
authorjoerg <joerg>2013-08-15 16:36:11 +0000
committerjoerg <joerg>2013-08-15 16:36:11 +0000
commit1a095bfc72dad08fb983ebe173d409f371893ed8 (patch)
tree45051d39f036b4dad1702f4d055a9ece949c0868 /net/p5-Net-DNS
parentaf6b145f801852717bc93ac79239e3f56a6ba463 (diff)
downloadpkgsrc-1a095bfc72dad08fb983ebe173d409f371893ed8.tar.gz
Don't try to build and use netdns.a. It would result in duplicate
declarations during linking with clang. Thanks to uwe@ for the help.
Diffstat (limited to 'net/p5-Net-DNS')
-rw-r--r--net/p5-Net-DNS/distinfo3
-rw-r--r--net/p5-Net-DNS/patches/patch-Makefile.PL13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/p5-Net-DNS/distinfo b/net/p5-Net-DNS/distinfo
index 4990531986d..f264df5fcca 100644
--- a/net/p5-Net-DNS/distinfo
+++ b/net/p5-Net-DNS/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.26 2013/07/31 09:47:52 he Exp $
+$NetBSD: distinfo,v 1.27 2013/08/15 16:36:11 joerg Exp $
SHA1 (Net-DNS-0.69.tar.gz) = 2c84cdbd121b6b50bf9528fe8f474bf0915e85c6
RMD160 (Net-DNS-0.69.tar.gz) = cae86f2c9589f5bac0d93199a2563bc4d6a34b46
Size (Net-DNS-0.69.tar.gz) = 190234 bytes
+SHA1 (patch-Makefile.PL) = a43bfbe30623b6705416e5074acf4094e3875046
SHA1 (patch-lib_Net_DNS_Header.pm) = 8f0873c90acfbfaccd12b3daef99e4a20cc90ee3
diff --git a/net/p5-Net-DNS/patches/patch-Makefile.PL b/net/p5-Net-DNS/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..33167121b9a
--- /dev/null
+++ b/net/p5-Net-DNS/patches/patch-Makefile.PL
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2013/08/15 16:36:11 joerg Exp $
+
+--- Makefile.PL.orig 2013-08-15 16:24:21.000000000 +0000
++++ Makefile.PL
+@@ -191,7 +191,7 @@ unless ( defined $use_xs ) {
+ if ( test_cc() ) {
+ print "You have a working compiler.\n";
+ $use_xs = 1;
+- $Makefile{'MYEXTLIB'} = 'netdns$(LIB_EXT)';
++ $Makefile{'MYEXTLIB'} = '';
+ } else {
+ $use_xs = 0;
+ $Makefile{'MYEXTLIB'} = '';