[57212] trunk/dports/lang/ruby/Portfile

kimuraw at macports.org kimuraw at macports.org
Mon Sep 7 08:27:44 PDT 2009


Revision: 57212
          http://trac.macports.org/changeset/57212
Author:   kimuraw at macports.org
Date:     2009-09-07 08:27:39 -0700 (Mon, 07 Sep 2009)
Log Message:
-----------
lang/ruby: enable build_arch (#21124)

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

Modified: trunk/dports/lang/ruby/Portfile
===================================================================
--- trunk/dports/lang/ruby/Portfile	2009-09-07 13:53:42 UTC (rev 57211)
+++ trunk/dports/lang/ruby/Portfile	2009-09-07 15:27:39 UTC (rev 57212)
@@ -55,6 +55,10 @@
 # ignore minor version for archdir, like i686-darwin9
 configure.env	UNAME_RELEASE=${os.major}
 
+if {[info exists build_arch] && $build_arch != ""} {
+	configure.env-append ARCH_FLAG="-arch ${build_arch}"
+}
+
 destroot.target	install install-doc
 post-destroot {
 	foreach type {site vendor} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090907/017d69c6/attachment.html>


More information about the macports-changes mailing list