[45292] trunk/dports/lang

blb at macports.org blb at macports.org
Mon Jan 12 19:30:51 PST 2009


Revision: 45292
          http://trac.macports.org/changeset/45292
Author:   blb at macports.org
Date:     2009-01-12 19:30:49 -0800 (Mon, 12 Jan 2009)
Log Message:
-----------
New port - lang/ruby186, Ruby at version 1.8.6 for those who need it for
compatibility reasons (not heavily tested)

Modified Paths:
--------------
    trunk/dports/lang/ruby186/Portfile

Added Paths:
-----------
    trunk/dports/lang/ruby186/
    trunk/dports/lang/ruby186/files/patch-ext_openssl_openssl_missing.h.diff

Modified: trunk/dports/lang/ruby186/Portfile
===================================================================
--- trunk/dports/lang/ruby/Portfile	2008-05-01 18:53:10 UTC (rev 36429)
+++ trunk/dports/lang/ruby186/Portfile	2009-01-13 03:30:49 UTC (rev 45292)
@@ -2,27 +2,30 @@
 
 PortSystem 1.0
 
-name			ruby
-version			1.8.6-p114
+name			ruby186
+version			1.8.6-p287
 
 categories		lang ruby
-maintainers		pguyot at kallisys.net
+maintainers		nomaintainer
 
 description		Powerful and clean object-oriented scripting language
 long_description	Ruby is the interpreted scripting language for quick \
 					and easy object-oriented programming. It has many \
 					features to process text files and to do system \
 					management tasks (as in Perl). It is simple, \
-					straight-forward, extensible, and portable.
+					straight-forward, extensible, and portable. \
+					Note: this port conflicts with the ruby port, so you \
+					can have either that or this one active at one time.
 homepage		http://www.ruby-lang.org/
 master_sites	ruby:1.8
-				
+use_bzip2		yes
+
 dist_subdir		ruby
-checksums		ruby-${version}.tar.gz \
-					md5	500a9f11613d6c8ab6dcf12bec1b3ed3 \
-                    sha1    149d19caa3059de9faef34f80630642fd61651ad \
-                    rmd160  9363ea3f3dede38dce3b26bfe69ccbf7eac00f78
-					
+distname		ruby-${version}
+checksums		md5     80b5f3db12531d36e6c81fac6d05dda9 \
+				sha1    29b02ccab3c1d6b4a71148ad960e65b5f892fe17 \
+				rmd160  df0950f1cdf9ea26b6d2f04756d9db89ae295de4
+
 platforms		darwin
 
 depends_lib		port:libiconv \
@@ -30,14 +33,15 @@
 				port:openssl \
 				port:zlib \
 				port:ncurses
-				
+
 patchfiles		patch-Makefile.in \
 				patch-configure.in \
 				patch-instruby.rb \
 				patch-mkconfig.rb \
 				patch-mkmf.rb \
 				patch-ruby.c \
-				patch-lib-rexml-document.rb.diff
+				patch-lib-rexml-document.rb.diff \
+				patch-ext_openssl_openssl_missing.h.diff
 
 use_autoconf	yes
 
@@ -51,10 +55,10 @@
 	foreach type {site vendor} {
 		set libdir ${destroot}${prefix}/lib/ruby/${type}_ruby
 		xinstall -m 0755 -d ${libdir}
-		
+
 		# special file for installation control of modules
 		xinstall -m 0644 ${filespath}/${type}-specific.rb ${libdir}
-		
+
 		# prevent empty site/vendor directories from being pruned
 		foreach subdir [exec find ${libdir} -type d -empty] {
 			destroot.keepdirs-append ${subdir}
@@ -82,19 +86,19 @@
 							words-bigendian-from-arch.diff
 }
 
-variant tk conflicts mactk {
-	configure.args-delete	--without-tk 
-	configure.args-append	--with-tk 
+variant tk conflicts mactk description {Enable MacPorts Tk bindings} {
+	configure.args-delete	--without-tk
+	configure.args-append	--with-tk
 	depends_lib-append		port:tcl \
-							port:tk 
-} 
+							port:tk
+}
 
-variant mactk conflicts tk {
+variant mactk conflicts tk description {Enable Mac OS X Tk framework bindings} {
 	configure.args-delete   --without-tk
 	configure.args-append   --enable-tcltk-framework
 }
 
-variant thread_hooks {
+variant thread_hooks description {Enable thread hooks} {
 	patchfiles-append		patch-thread-hooks
 }
 

Added: trunk/dports/lang/ruby186/files/patch-ext_openssl_openssl_missing.h.diff
===================================================================
--- trunk/dports/lang/ruby186/files/patch-ext_openssl_openssl_missing.h.diff	                        (rev 0)
+++ trunk/dports/lang/ruby186/files/patch-ext_openssl_openssl_missing.h.diff	2009-01-13 03:30:49 UTC (rev 45292)
@@ -0,0 +1,13 @@
+--- ext/openssl/openssl_missing.h.orig	2008-08-03 22:43:34.000000000 -0600
++++ ext/openssl/openssl_missing.h	2009-01-12 20:18:49.000000000 -0700
+@@ -120,8 +120,8 @@
+ int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
+ int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
+ int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
+-int BN_rand_range(BIGNUM *r, BIGNUM *range);
+-int BN_pseudo_rand_range(BIGNUM *r, BIGNUM *range);
++int BN_rand_range(BIGNUM *r, const BIGNUM *range);
++int BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range);
+ char *CONF_get1_default_config_file(void);
+ int PEM_def_callback(char *buf, int num, int w, void *key);
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090112/35e85cd8/attachment.html>


More information about the macports-changes mailing list