Net::DNS on Tiger

I received several comments on how to patch Net::DNS to properly support Tiger.

The most appropriate patch is below.

Note that this patch is not going to be needed with version 0.50 as that commes with its own implementation of dn_expand and will therefore not depend on the BIND libs that are shipped with your OS.

It may take a while (weeks) before I release the beta of 0.50 on CPAN (as version 0.49_01). I would appreciate folk trying to run the code currently on the subversion trunk.

Here is the patch:


--- Makefile.PL~
+++ Makefile.PL
@@ -62,7 +62,7 @@
if ($^O eq 'MSWin32') {
$Makefile{'PREREQ_PM'}->{'Win32::Registry'} = 0;
}
-if ($^O eq 'darwin' and $Config{'osvers'} =~ m/^7./) {
+if ($^O eq 'darwin' and $Config{'osvers'} =~ m/^[78]./) {
$Makefile{'DEFINE'} = '-DBIND_8_COMPAT';
}

Comments are closed.