summaryrefslogtreecommitdiffstats
path: root/security/ruby-mcrypt
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-03-16 04:10:37 +0000
committerknu <knu@FreeBSD.org>2003-03-16 04:10:37 +0000
commit8e1762b4c7de819ae580fd00ceedd7571571d37e (patch)
treea061fa15214f114de5c81b29c161a93d5f1e411e /security/ruby-mcrypt
parente8ac64a699179ee1667a2b61875ee6fca28291b5 (diff)
downloadFreeBSD-ports-8e1762b4c7de819ae580fd00ceedd7571571d37e.zip
FreeBSD-ports-8e1762b4c7de819ae580fd00ceedd7571571d37e.tar.gz
Don't try to detect libltdl only to fail. libmcrypt does not depend
on it any more. Submitted by: bento
Diffstat (limited to 'security/ruby-mcrypt')
-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 0000000..4eb1a08
--- /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," )
OpenPOWER on IntegriCloud