[58796] trunk/dports/ruby/rb-cocoa/Portfile

kimuraw at macports.org kimuraw at macports.org
Mon Oct 5 07:37:15 PDT 2009


Revision: 58796
          http://trac.macports.org/changeset/58796
Author:   kimuraw at macports.org
Date:     2009-10-05 07:37:14 -0700 (Mon, 05 Oct 2009)
Log Message:
-----------
ruby/rb-cocoa: fix #21764,
  install fails with xargs from findutils+with_default_names

Modified Paths:
--------------
    trunk/dports/ruby/rb-cocoa/Portfile

Modified: trunk/dports/ruby/rb-cocoa/Portfile
===================================================================
--- trunk/dports/ruby/rb-cocoa/Portfile	2009-10-05 14:32:59 UTC (rev 58795)
+++ trunk/dports/ruby/rb-cocoa/Portfile	2009-10-05 14:37:14 UTC (rev 58796)
@@ -15,6 +15,7 @@
 					such.
 categories-append	devel
 homepage		http://${ruby.project}.sourceforge.net/
+license			LGPL/Ruby
 master_sites	sourceforge:${ruby.project}
 distname		RubyCocoa-${version}
 checksums		md5 96e6a69191e862f60915c11d4d9ea7c0 \
@@ -33,6 +34,13 @@
 					--examples=${prefix}/share/examples/${name}
 destroot.violate_mtree	yes
 
+# see bug #21764
+# install fails with gnu xargs from findutils+with_default_names.
+# this problem was fixed RubyCocoa trunk r2268
+post-patch {
+	reinplace "s| xargs |  /usr/bin/xargs |" ${worksrcpath}/pre-install.rb
+}
+
 # by default, do not install Xcode templates. #18708
 variant xcode description {install project templates for Xcode} { }
 if {![variant_isset xcode]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091005/805317c2/attachment.html>


More information about the macports-changes mailing list