aboutsummaryrefslogtreecommitdiff
path: root/net/ruby-nis/files
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-06-21 12:46:15 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-06-21 12:46:15 +0000
commitc2d4f204840df5cf4572dd473cf7a0b92c8c93f4 (patch)
tree842377815949b9d58a304cbadf24f5793f8430b7 /net/ruby-nis/files
parentea8c1a55b7a3d3d283f638142b5fbe3d846f389c (diff)
Add ruby-nis, a ruby library to use the NIS/YP API.
Notes
Notes: svn path=/head/; revision=44276
Diffstat (limited to 'net/ruby-nis/files')
-rw-r--r--net/ruby-nis/files/patch-extconf.rb13
-rw-r--r--net/ruby-nis/files/patch-yp.c10
2 files changed, 23 insertions, 0 deletions
diff --git a/net/ruby-nis/files/patch-extconf.rb b/net/ruby-nis/files/patch-extconf.rb
new file mode 100644
index 000000000000..8f15e895e352
--- /dev/null
+++ b/net/ruby-nis/files/patch-extconf.rb
@@ -0,0 +1,13 @@
+--- extconf.rb.orig Fri Apr 20 14:38:57 2001
++++ extconf.rb Thu Jun 21 21:24:05 2001
+@@ -6,8 +6,8 @@
+ nis_h = have_header('rpcsvc/nis.h')
+ ypclnt_h = have_header('rpcsvc/ypclnt.h')
+ ypprot_h = have_header('rpcsvc/yp_prot.h')
+-libnsl = have_library('nsl')
++have_library('nsl')
+
+-if( libnsl && ypclnt_h && ypprot_h )
++if( have_func("yp_all") && ypclnt_h && ypprot_h )
+ create_makefile('nis')
+ end
diff --git a/net/ruby-nis/files/patch-yp.c b/net/ruby-nis/files/patch-yp.c
new file mode 100644
index 000000000000..a0cfae6260b5
--- /dev/null
+++ b/net/ruby-nis/files/patch-yp.c
@@ -0,0 +1,10 @@
+--- yp.c.orig Fri Apr 20 16:07:42 2001
++++ yp.c Thu Jun 21 21:30:30 2001
+@@ -3,6 +3,7 @@
+ */
+
+ #include "nis.h"
++#include <rpc/rpc.h>
+ #include <rpcsvc/ypclnt.h>
+ #include <rpcsvc/yp_prot.h>
+