1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/net/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;