diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-09-23 01:36:53 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-09-23 01:36:53 +0000 |
commit | 8c7499bdfa85657ea6c2517ada0ef4a4db489beb (patch) | |
tree | 1c37a6088704b234484b1352cd1f882fb2a253ad /net-mgmt/ruby-snmp/files/patch-aa | |
parent | Catch up with Wnn6-lib update. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_1_1'.release/4.1.1
Notes
Notes:
svn path=/head/; revision=33029
svn path=/tags/RELEASE_4_1_1/; revision=33030; tag=release/4.1.1
Diffstat (limited to 'net-mgmt/ruby-snmp/files/patch-aa')
-rw-r--r-- | net-mgmt/ruby-snmp/files/patch-aa | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/net-mgmt/ruby-snmp/files/patch-aa b/net-mgmt/ruby-snmp/files/patch-aa deleted file mode 100644 index 8e10fe8dbe29..000000000000 --- a/net-mgmt/ruby-snmp/files/patch-aa +++ /dev/null @@ -1,45 +0,0 @@ ---- extconf.rb.orig Mon Jul 10 19:18:51 2000 -+++ extconf.rb Fri Sep 1 01:53:44 2000 -@@ -1,15 +1,11 @@ --require './mkmf.rb' -+require 'mkmf.rb' - - def crash(str) - printf " extconf failure:%s\n", str - exit 1 - end - --if /linux/ =~ RUBY_PLATFORM -- $LDFLAGS = "-L/usr/lib" --else -- $LDFLAGS = "-L/usr/local/lib" --end -+dir_config('snmp') - - # Headers - ruby_h = have_header("ruby.h") -@@ -35,8 +31,10 @@ - EOF - - # Libraies -+have_library("crypto") if test(?e, "/usr/lib/libcrypto.so"); -+ - snmpsessinit = have_library("snmp", "snmp_sess_init") --unless snmpsessinit or snmpsessopen or snmpsessclose or snmpsessread or snmpsesssend -+unless snmpsessinit # or snmpsessopen or snmpsessclose or snmpsessread or snmpsesssend - crash "This module require snmp_sess_(init|open|close|read|send) functions." - end - -@@ -51,10 +49,10 @@ - $CFLAGS = "-DNO_SNMP_FREE " + $CFLAGS - end - --unless try_link(header+<<EOF, "-lsnmp") -+if try_link(header+<<EOF, "-lsnmp") - - void main() { -- init_snmp("snmpapp"); -+ init_snmp(); - } - EOF - $CFLAGS = "-DVOID_INIT_SNMP " + $CFLAGS |