aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-SNMP
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1997-07-02 21:06:58 +0800
committerjfitz <jfitz@FreeBSD.org>1997-07-02 21:06:58 +0800
commita4db18ffd5027ac07d4df93ab60d9780896df2a2 (patch)
treea41b68cd5d27cd9c2de4c955a977ac0f20ec2c17 /net/p5-SNMP
parentedd194d50e0c6e94e66d9f6fc9d3265345e73164 (diff)
downloadfreebsd-ports-gnome-a4db18ffd5027ac07d4df93ab60d9780896df2a2.tar.gz
freebsd-ports-gnome-a4db18ffd5027ac07d4df93ab60d9780896df2a2.tar.zst
freebsd-ports-gnome-a4db18ffd5027ac07d4df93ab60d9780896df2a2.zip
Make this one stop asking questions.
Locked-in-a-room,bound,gagged,and-beaten-up-by: Satoshi
Diffstat (limited to 'net/p5-SNMP')
-rw-r--r--net/p5-SNMP/files/patch-aa19
1 files changed, 13 insertions, 6 deletions
diff --git a/net/p5-SNMP/files/patch-aa b/net/p5-SNMP/files/patch-aa
index 00b792963d07..d729b1190fa0 100644
--- a/net/p5-SNMP/files/patch-aa
+++ b/net/p5-SNMP/files/patch-aa
@@ -1,11 +1,18 @@
---- Makefile.PL.orig Mon May 5 21:23:30 1997
-+++ Makefile.PL Mon May 5 21:31:53 1997
-@@ -17,7 +17,7 @@
+--- Makefile.PL.orig Tue Feb 27 20:35:19 1996
++++ Makefile.PL Wed Jul 2 09:04:10 1997
+@@ -17,13 +17,9 @@
my @IncludeFiles = qw[asn1.h parse.h snmp.h snmp_api.h
snmp_client.h snmp_impl.h];
-my @IncludeDirs = qw[/usr/include /usr/local/include];
-+my @IncludeDirs = qw[/usr/include /usr/local/include /usr/local/include/snmp];
++my $IncludeDir = find_files(\@IncludeFiles, [ ( "$ENV{PREFIX}/include/snmp" ) ] );
- my $IncludeDir = find_files(\@IncludeFiles,\@IncludeDirs) ||
- prompt("Where are the cmu-snmpv2 include files installed?","/usr/local/include");
+-my $IncludeDir = find_files(\@IncludeFiles,\@IncludeDirs) ||
+- prompt("Where are the cmu-snmpv2 include files installed?","/usr/local/include");
+-
+-my $LibDir = find_files(["libsnmp.a"],[qw[/usr/lib /usr/local/lib]]) ||
+- prompt("Where is libsnmp.a installed?","/usr/local/lib");
++my $LibDir = find_files(["libsnmp.a"], [ ( "$ENV{PREFIX}/lib" ) ] );
+
+ @IncludeFiles = map {"$IncludeDir/$_";} @IncludeFiles;
+ $Params{LIBS} = "-L$LibDir -lsnmp";