[57864] trunk/dports/ruby/rb-ncurses-ruby/Portfile

blb at macports.org blb at macports.org
Thu Sep 17 12:38:19 PDT 2009


Revision: 57864
          http://trac.macports.org/changeset/57864
Author:   blb at macports.org
Date:     2009-09-17 12:38:15 -0700 (Thu, 17 Sep 2009)
Log Message:
-----------
ruby/rb-ncurses-ruby - replace hardcoded path with ${prefix}, ticket #21458

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

Modified: trunk/dports/ruby/rb-ncurses-ruby/Portfile
===================================================================
--- trunk/dports/ruby/rb-ncurses-ruby/Portfile	2009-09-17 18:15:50 UTC (rev 57863)
+++ trunk/dports/ruby/rb-ncurses-ruby/Portfile	2009-09-17 19:38:15 UTC (rev 57864)
@@ -54,7 +54,7 @@
    }
    # symlink to the vendor location so software expecting a non-gem
    # install can still find it
-   set rubyarch [exec /mp/bin/ruby -rrbconfig -e "puts Config::CONFIG\['sitearch'\]"]
+   set rubyarch [exec ${prefix}/bin/ruby -rrbconfig -e "puts Config::CONFIG\['sitearch'\]"]
    file mkdir ${destroot}${ruby.lib}/${rubyarch}
    set ruby.gemdir ${prefix}/lib/ruby/gems/${ruby.version}/gems
    ln -s ${ruby.gemdir}/ncurses-${version}/lib/ncurses.rb ${destroot}${ruby.lib}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090917/2f3d06a3/attachment.html>


More information about the macports-changes mailing list