[74587] trunk/dports/lang/ruby/Portfile
kimuraw at macports.org
kimuraw at macports.org
Wed Dec 22 07:54:10 PST 2010
Revision: 74587
http://trac.macports.org/changeset/74587
Author: kimuraw at macports.org
Date: 2010-12-22 07:54:03 -0800 (Wed, 22 Dec 2010)
Log Message:
-----------
lang/ruby: change depends_lib to port:readline-5 from port:readline,
to solve license incompatibility with port:readline GPL-3+.
Modified Paths:
--------------
trunk/dports/lang/ruby/Portfile
Modified: trunk/dports/lang/ruby/Portfile
===================================================================
--- trunk/dports/lang/ruby/Portfile 2010-12-22 15:45:14 UTC (rev 74586)
+++ trunk/dports/lang/ruby/Portfile 2010-12-22 15:54:03 UTC (rev 74587)
@@ -5,7 +5,7 @@
name ruby
version 1.8.7-p302
-revision 0
+revision 1
categories lang ruby
maintainers kimuraw
@@ -17,7 +17,7 @@
management tasks (as in Perl). It is simple, \
straight-forward, extensible, and portable.
homepage http://www.ruby-lang.org/
-license Ruby/GPL
+license Ruby/GPL-2
master_sites ruby:1.8
dist_subdir ruby
@@ -29,8 +29,10 @@
platforms darwin
+# use port:readline-5, not port:readline (version 6).
+# ruby's license is not compatible readline's (GPL-3+).
depends_lib port:libiconv \
- port:readline \
+ port:readline-5 \
port:openssl \
port:zlib \
port:ncurses
@@ -57,7 +59,10 @@
--mandir="${prefix}/share/man" \
--enable-pthread \
--without-tk \
- --with-vendordir=${prefix}/lib/ruby/vendor_ruby
+ --with-vendordir=${prefix}/lib/ruby/vendor_ruby \
+ --with-opt-dir=${prefix} \
+ --with-readline-include=${prefix}/include/readline5 \
+ --with-readline-lib=${prefix}/lib/readline5
# ignore minor version for archdir, like i686-darwin9
configure.env UNAME_RELEASE=${os.major}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101222/17940222/attachment.html>
More information about the macports-changes
mailing list