summaryrefslogtreecommitdiff
path: root/net/ruby-nis/files/patch-extconf.rb
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/patch-extconf.rb
parentupgrade to 0.4.13 (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/patch-extconf.rb')
-rw-r--r--net/ruby-nis/files/patch-extconf.rb13
1 files changed, 13 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