1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net-mgmt/p5-SNMP/files/patch-aa

25 lines
764 B
Plaintext
Raw Normal View History

--- 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;