Thu Aug 15 16:36:11 2013 UTC ()
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.


(joerg)
diff -r1.26 -r1.27 pkgsrc/net/p5-Net-DNS/distinfo
diff -r0 -r1.1 pkgsrc/net/p5-Net-DNS/patches/patch-Makefile.PL

cvs diff -r1.26 -r1.27 pkgsrc/net/p5-Net-DNS/distinfo (expand / switch to unified diff)

--- pkgsrc/net/p5-Net-DNS/distinfo 2013/07/31 09:47:52 1.26
+++ pkgsrc/net/p5-Net-DNS/distinfo 2013/08/15 16:36:11 1.27
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.26 2013/07/31 09:47:52 he Exp $ 1$NetBSD: distinfo,v 1.27 2013/08/15 16:36:11 joerg Exp $
2 2
3SHA1 (Net-DNS-0.69.tar.gz) = 2c84cdbd121b6b50bf9528fe8f474bf0915e85c6 3SHA1 (Net-DNS-0.69.tar.gz) = 2c84cdbd121b6b50bf9528fe8f474bf0915e85c6
4RMD160 (Net-DNS-0.69.tar.gz) = cae86f2c9589f5bac0d93199a2563bc4d6a34b46 4RMD160 (Net-DNS-0.69.tar.gz) = cae86f2c9589f5bac0d93199a2563bc4d6a34b46
5Size (Net-DNS-0.69.tar.gz) = 190234 bytes 5Size (Net-DNS-0.69.tar.gz) = 190234 bytes
 6SHA1 (patch-Makefile.PL) = a43bfbe30623b6705416e5074acf4094e3875046
6SHA1 (patch-lib_Net_DNS_Header.pm) = 8f0873c90acfbfaccd12b3daef99e4a20cc90ee3 7SHA1 (patch-lib_Net_DNS_Header.pm) = 8f0873c90acfbfaccd12b3daef99e4a20cc90ee3

File Added: pkgsrc/net/p5-Net-DNS/patches/Attic/patch-Makefile.PL
$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'} = '';