1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/net/p5-SNMP/files/patch-aa
Mark Murray c17025d90f Unbreak.
Upgrade to v1.8b3.
Fix for Perl5.
1998-10-21 10:07:51 +00:00

25 lines
764 B
Plaintext

--- Makefile.PL.ORIG Wed Oct 21 11:12:12 1998
+++ Makefile.PL Wed Oct 21 11:24:10 1998
@@ -26,6 +26,10 @@
$snmp_lib = 'libsnmp.dll';
$snmp_llib = 'libsnmp';
$sep = '\\';
+} elsif ($Config{'osname'} eq 'freebsd') {
+ $snmp_lib = 'libsnmp.so';
+ $snmp_llib = 'snmp';
+ $sep = '/';
} else {
$snmp_lib = 'libsnmp.a';
$snmp_llib = 'snmp';
@@ -79,8 +83,8 @@
}
$host ||= 'localhost';
$comm ||= 'private';
- my $resp = prompt("Enter host and community for SNMP tests: ",
- "$host $comm");
+ $resp = "$host $comm";
+ # my $resp = prompt("Enter host and community for SNMP tests: ", "$host $comm");
open(H, ">host") || die "Error: could not open file 'host' ($!)";
print H "$resp\n";
close H;