freebsd-ports/net-mgmt/p5-SNMP-Util/files/extra-net-snmp-patch-Makefile.PL
Bruce M Simpson 45ca7c68af Deprecate the dependency on net-snmp4 by folding it under a WITH_NETSNMP4
switch, and set to depend on net-snmp's builtin SNMP.pm implementation
by default.

Reviewed by:	fenner
2004-05-20 16:40:07 +00:00

19 lines
512 B
Perl

--- Makefile.PL.orig Tue Jun 27 19:40:11 2000
+++ Makefile.PL Thu May 20 14:04:59 2004
@@ -1,13 +1,13 @@
use ExtUtils::MakeMaker;
use FileHandle;
-print "Checking for SNMP, V1.8 ";
+print "Checking for SNMP, V5.1 ";
$@ = '';
-eval "use SNMP 1.8 ();";
+eval "use SNMP 5.1 ();";
if ($@) {
$ok = 0;
- print("\nYou don't have installed the SNMP module, version 1.8 or",
+ print("\nYou don't have installed the SNMP module, version 5.1 or",
" later.\n");
} else {
print "ok\n";
}