[39392] trunk/dports/lang/ruby

kimuraw at macports.org kimuraw at macports.org
Tue Aug 19 06:06:47 PDT 2008


Revision: 39392
          http://trac.macosforge.org/projects/macports/changeset/39392
Author:   kimuraw at macports.org
Date:     2008-08-19 06:06:47 -0700 (Tue, 19 Aug 2008)
Log Message:
-----------
lang/ruby:
add platform x86_64 support (ticket #16331)

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

Added Paths:
-----------
    trunk/dports/lang/ruby/files/patch-Makefile.in.x86_64.diff

Modified: trunk/dports/lang/ruby/Portfile
===================================================================
--- trunk/dports/lang/ruby/Portfile	2008-08-19 12:40:07 UTC (rev 39391)
+++ trunk/dports/lang/ruby/Portfile	2008-08-19 13:06:47 UTC (rev 39392)
@@ -83,6 +83,13 @@
 	configure.args-delete   --enable-pthread
 }
 
+platform darwin x86_64 {
+	# https://trac.macports.org/ticket/16331
+	patchfiles-append		patch-Makefile.in.x86_64.diff
+	configure.args-delete	--enable-pthread
+	configure.cflags-append	-arch x86_64
+}
+
 variant tk conflicts mactk description "enable tk support" {
 	configure.args-delete	--without-tk
 	configure.args-append	--with-tk

Added: trunk/dports/lang/ruby/files/patch-Makefile.in.x86_64.diff
===================================================================
--- trunk/dports/lang/ruby/files/patch-Makefile.in.x86_64.diff	                        (rev 0)
+++ trunk/dports/lang/ruby/files/patch-Makefile.in.x86_64.diff	2008-08-19 13:06:47 UTC (rev 39392)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2008-08-18 04:03:12.000000000 +0200
++++ Makefile.in	2008-08-18 04:04:39.000000000 +0200
+@@ -40,7 +40,7 @@
+ debugflags = @debugflags@
+ CPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@
+ LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@
+-EXTLDFLAGS = 
++EXTLDFLAGS = -arch x86_64
+ XLDFLAGS = @XLDFLAGS@ $(EXTLDFLAGS)
+ EXTLIBS = 
+ LIBS = @LIBS@ $(EXTLIBS)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080819/564ffa7c/attachment.html 


More information about the macports-changes mailing list