Created
April 1, 2012 16:02
-
-
Save kimuraw/2276629 to your computer and use it in GitHub Desktop.
workaround to fix #33814 trac.macports.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: ruby19/Portfile | |
=================================================================== | |
--- ruby19/Portfile (revision 91418) | |
+++ ruby19/Portfile (working copy) | |
@@ -72,6 +72,15 @@ | |
configure.args-append "--with-arch=${build_arch}" | |
} | |
+platform darwin 8 { | |
+ configure.args-delete --enable-pthread | |
+ post-patch { | |
+ # #33814: build error "multiple definitions" | |
+ move ${worksrcpath}/ext/-test-/add_suffix \ | |
+ ${worksrcpath}/ext/-test-/.add_suffix | |
+ } | |
+} | |
+ | |
post-destroot { | |
foreach type {site vendor} { | |
set libdir ${destroot}${prefix}/lib/ruby1.9/${type}_ruby/1.9.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this patch solves build error of #33814 (https://trac.macports.org/ticket/33814).
but the built ruby does not pass `make test' on test_thread.rb.