[74588] trunk/dports/lang/ruby19/Portfile

kimuraw at macports.org kimuraw at macports.org
Wed Dec 22 07:55:44 PST 2010


Revision: 74588
          http://trac.macports.org/changeset/74588
Author:   kimuraw at macports.org
Date:     2010-12-22 07:55:38 -0800 (Wed, 22 Dec 2010)
Log Message:
-----------
lang/ruby19: change depends_lib to port:readline-5 from port:readline,
  to solve license incompatibility with port:readline GPL-3+.

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

Modified: trunk/dports/lang/ruby19/Portfile
===================================================================
--- trunk/dports/lang/ruby19/Portfile	2010-12-22 15:54:03 UTC (rev 74587)
+++ trunk/dports/lang/ruby19/Portfile	2010-12-22 15:55:38 UTC (rev 74588)
@@ -4,7 +4,7 @@
 
 name				ruby19
 version				1.9.2-p0
-revision			3
+revision			4
 
 categories			lang ruby
 maintainers			kimuraw openmaintainer
@@ -19,7 +19,7 @@
 					and slightly incompatible from version 1.8.
 
 homepage			http://www.ruby-lang.org/
-license				Ruby/GPL
+license				Ruby/GPL-2
 
 master_sites		ruby:1.9
 use_bzip2			yes
@@ -30,8 +30,13 @@
 					sha1 c0fc7e1047f1eac7e554e9818513593b0d398698
 use_parallel_build	yes
 
+# use port:readline-5, not port:readline (version 6).
+# ruby's license is not compatible readline's (GPL-3+).
+#
+# ruby-1.9.3 will be released under Ruby/BSDL license and
+# will become compatible with GPL-3.
 depends_lib			port:libiconv \
-					port:readline \
+					port:readline-5 \
 					port:openssl \
 					port:zlib \
 					port:ncurses \
@@ -43,6 +48,8 @@
 					--enable-pthread \
 					--without-tk \
 					--with-opt-dir="${prefix}" \
+					--with-readline-include=${prefix}/include/readline5 \
+					--with-readline-lib=${prefix}/lib/readline5 \
 					--program-suffix=1.9 \
 					--with-rubylibprefix=${prefix}/lib/ruby1.9
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101222/eb5b6454/attachment.html>


More information about the macports-changes mailing list