From 9b398eeda728e80a6d2879c1a8de7621526218c7 Mon Sep 17 00:00:00 2001 From: taca Date: Wed, 21 Mar 2012 15:47:33 +0000 Subject: Oops, this is one more file to be commited. 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. --- lang/ruby/rubyversion.mk | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'lang') diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk index 9246eaee123..525c7047ade 100644 --- a/lang/ruby/rubyversion.mk +++ b/lang/ruby/rubyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: rubyversion.mk,v 1.75 2012/03/15 08:35:24 marino Exp $ +# $NetBSD: rubyversion.mk,v 1.76 2012/03/21 15:47:33 taca Exp $ # # This file determines which Ruby version is used as a dependency for @@ -375,8 +375,6 @@ RUBY_DISTNAME?= ruby-${RUBY_VERSION} RUBY_USE_PTHREAD?= no .else RUBY_USE_PTHREAD?= yes -PTHREAD_OPTS+= native -PTHREAD_AUTO_VARS= yes .endif RUBY_DYNAMIC_DIRS?= # empty @@ -510,17 +508,6 @@ RUBY_GENERATE_PLIST = ( \ ${RUBY_PLIST_FILES_CMD} ) > ${RUBY_PLIST_DYNAMIC} .endif -.if !empty(RUBY_NOVERSION:M[nN][oO]) -.if empty(RUBY_USE_PTHREAD:M[nN][oO]) -.include "../../mk/pthread.buildlink3.mk" -.endif -.include "../../mk/bdb.buildlink3.mk" -.include "../../converters/libiconv/buildlink3.mk" -.include "../../devel/zlib/buildlink3.mk" -.include "../../security/openssl/buildlink3.mk" -.include "../../mk/dlopen.buildlink3.mk" -.endif - PRINT_PLIST_AWK+= /lib\/libruby${RUBY_STATICLIB}$$/ \ { sub(/${RUBY_STATICLIB}/, "$${RUBY_STATICLIB}"); } PRINT_PLIST_AWK+= /lib\/libruby${RUBY_VER}\.${RUBY_SLEXT}/ \ -- cgit v1.2.3