mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
c17025d90f
Upgrade to v1.8b3. Fix for Perl5.
25 lines
764 B
Plaintext
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;
|