diff options
author | taca <taca@pkgsrc.org> | 2006-09-08 02:36:51 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2006-09-08 02:36:51 +0000 |
commit | 07860d6b9d95abc5e58e3ef2cdd0ddb5df2dfb73 (patch) | |
tree | 8f0dd4593d0f658a13b70b901bc2633f09176068 /lang/ruby | |
parent | f75edc3e2379bab4062d232a13259a5392cacdc8 (diff) | |
download | pkgsrc-07860d6b9d95abc5e58e3ef2cdd0ddb5df2dfb73.tar.gz |
Move back CONFIGURE_ARGS part from rubyversion.mk to Makefile.common.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/Makefile.common | 8 | ||||
-rw-r--r-- | lang/ruby/rubyversion.mk | 11 |
2 files changed, 9 insertions, 10 deletions
diff --git a/lang/ruby/Makefile.common b/lang/ruby/Makefile.common index 400e558078b..afba2c7187a 100644 --- a/lang/ruby/Makefile.common +++ b/lang/ruby/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.11 2006/09/07 15:40:00 taca Exp $ +# $NetBSD: Makefile.common,v 1.12 2006/09/08 02:36:51 taca Exp $ # # Ruby base distribution common definition @@ -40,3 +40,9 @@ PLIST_SUBST+= RUBY_SHLIBVER=${RUBY_SHLIBVER:Q} \ RUBY_NAME=${RUBY_NAME:Q} .include "replace.mk" + +.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" +CONFIGURE_ARGS+= --disable-pthread +.else +CONFIGURE_ARGS+= --enable-pthread +.endif diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk index d32affad301..deedf4685e1 100644 --- a/lang/ruby/rubyversion.mk +++ b/lang/ruby/rubyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: rubyversion.mk,v 1.23 2006/09/07 15:40:00 taca Exp $ +# $NetBSD: rubyversion.mk,v 1.24 2006/09/08 02:36:51 taca Exp $ # .if !defined(_RUBYVERSION_MK) @@ -260,16 +260,9 @@ RUBY_GENERATE_PLIST = ( \ .if !empty(RUBY_NOVERSION:M[nN][oO]) # Common macros. -.if ${OPSYS} == "NetBSD" -.if empty(OS_VERSION:M1.[0-9].*) +.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M1.[0-9].*) PTHREAD_OPTS+= native .include "../../mk/pthread.buildlink3.mk" -.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" -CONFIGURE_ARGS+= --disable-pthread -.else -CONFIGURE_ARGS+= --enable-pthread -.endif -.endif .endif .include "../../mk/bdb.buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" |