summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-03-16 04:10:37 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-03-16 04:10:37 +0000
commit2e7fd72d5914be52451539e24260328163370a13 (patch)
tree076948591c5bb0abd0873a83ab8c86afe3f28f12 /security
parentAccording to Ben Bucksch, version 0.8.2 "contains critical security (diff)
Don't try to detect libltdl only to fail. libmcrypt does not depend
on it any more. Submitted by: bento
Notes
Notes: svn path=/head/; revision=77139
Diffstat (limited to 'security')
-rw-r--r--security/ruby-mcrypt/files/patch-extconf.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/ruby-mcrypt/files/patch-extconf.rb b/security/ruby-mcrypt/files/patch-extconf.rb
new file mode 100644
index 000000000000..4eb1a0803f55
--- /dev/null
+++ b/security/ruby-mcrypt/files/patch-extconf.rb
@@ -0,0 +1,12 @@
+--- extconf.rb.orig Tue Jun 19 22:34:05 2001
++++ extconf.rb Sun Mar 16 13:07:23 2003
+@@ -2,7 +2,8 @@
+
+ require "mkmf"
+
+-if !find_library( "ltdl", "lt_dlinit", "/usr/lib", "/usr/local/lib" )
++if /freebsd/ !~ RUBY_PLATFORM &&
++ !find_library( "ltdl", "lt_dlinit", "/usr/lib", "/usr/local/lib" )
+
+ puts
+ puts( "Oops, the Libltdl library from the libtool package, which is used by mcrypt," )