diff options
author | taca <taca@pkgsrc.org> | 2012-03-21 15:40:12 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2012-03-21 15:40:12 +0000 |
commit | 6ce033324733556b1ec4854cfb6ab99313691ca0 (patch) | |
tree | 538409ba4c8a17c31aa79e1f12adc0b28b094d02 /lang/ruby/Makefile.common | |
parent | 64ef6edf9344fd093258e14f84a1e15043ee9ff2 (diff) | |
download | pkgsrc-6ce033324733556b1ec4854cfb6ab99313691ca0.tar.gz |
Overhaul buildlink3 processing of Ruby.
* Don't buildlink in ruby/rubyversion.mk any more but define
RUBY_USE_PTHREAD (use of pthread).
* In ruby/buildlink3.mk, buildlink via mk/pthread.buildlink3.mk as to
RUBY_USE_PTHREAD.
* Also the same logic in ruby/Makefile.common.
* Buildlink of bdb, libiconv, zlib, openssl in each ruby*-base/Makefile.
Diffstat (limited to 'lang/ruby/Makefile.common')
-rw-r--r-- | lang/ruby/Makefile.common | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/ruby/Makefile.common b/lang/ruby/Makefile.common index 82972a08ba5..f00bf6030d4 100644 --- a/lang/ruby/Makefile.common +++ b/lang/ruby/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.26 2012/02/18 06:28:46 taca Exp $ +# $NetBSD: Makefile.common,v 1.27 2012/03/21 15:40:12 taca Exp $ # # Ruby base distribution common definition # used by databases/ruby-gdbm/Makefile @@ -88,4 +88,10 @@ do-patch: CONFIGURE_ARGS+= --disable-pthread .else CONFIGURE_ARGS+= --enable-pthread + +PTHREAD_OPTS+= native +PTHREAD_AUTO_VARS= yes + +.include "../../mk/pthread.buildlink3.mk" .endif +.include "../../mk/dlopen.buildlink3.mk" |