diff options
author | pav <pav@FreeBSD.org> | 2006-01-16 17:41:49 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-01-16 17:41:49 +0800 |
commit | 01186e11d8c7a7487ff97755564fa610349d22a9 (patch) | |
tree | 3fc73580eba707aaeb25c6fc8ddf7602199c2f2c /lang | |
parent | d506e56c2c42dd139f1de4bfef68543680329e93 (diff) | |
download | freebsd-ports-graphics-01186e11d8c7a7487ff97755564fa610349d22a9.tar.gz freebsd-ports-graphics-01186e11d8c7a7487ff97755564fa610349d22a9.tar.zst freebsd-ports-graphics-01186e11d8c7a7487ff97755564fa610349d22a9.zip |
- Provide WITHOUT_PTHREADS option
Submitted by: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby18/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile index e483d268b9f..d22c770816c 100644 --- a/lang/ruby18/Makefile +++ b/lang/ruby18/Makefile @@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= ${MASTER_SITE_SUBDIR_RUBY} DIST_SUBDIR= ruby MAINTAINER= ports@FreeBSD.org -COMMENT= An object-oriented interpreted scripting language +COMMENT?= An object-oriented interpreted scripting language .if defined(WITH_ONIGURUMA) PKGNAMESUFFIX= +oniguruma @@ -39,8 +39,14 @@ USE_REINPLACE= yes GNU_CONFIGURE= yes WRKSRC= ${RUBY_WRKSRC} CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ - --enable-shared --enable-pthread \ - --with-openssl-include=${OPENSSLINC} + --enable-shared --with-openssl-include=${OPENSSLINC} + +.if defined(WITHOUT_PTHREADS) +CONFIGURE_ARGS+=--disable-pthread +PKGNAMESUFFIX= -nopthreads +.else +CONFIGURE_ARGS+=--enable-pthread +.endif .if defined(DEBUG) CFLAGS+= -g |