aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-05-01 01:50:21 +0800
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-05-01 01:50:21 +0800
commit6ee6ffc58966317fb4d225aade931c704c515fbf (patch)
treeec511234e3f6f7612491cc8622c45a29f32253aa /lang
parent98d6e8cbc1a5237b722084b47755c3bdbc4cb3ea (diff)
downloadfreebsd-ports-gnome-6ee6ffc58966317fb4d225aade931c704c515fbf.tar.gz
freebsd-ports-gnome-6ee6ffc58966317fb4d225aade931c704c515fbf.tar.zst
freebsd-ports-gnome-6ee6ffc58966317fb4d225aade931c704c515fbf.zip
Show the message about WITH_PTHREADS knob only when WITH_PTHREADS isn't defined.
Submitted by: MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby18/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index 9d0ce5c1748c..a65b19786f91 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -125,11 +125,13 @@ OBSOLETED_MODULES= bigfloat \
zlib
pre-everything::
+.if !defined(WITH_PTHREADS)
@${ECHO_MSG} ""
@${ECHO_MSG} "NOTE:"
@${ECHO_MSG} "You can enable pthread support by defining WITH_PTHREADS variable,"
@${ECHO_MSG} "but not recommended since this might break some ruby apps."
@${ECHO_MSG} ""
+.endif
post-extract:
${MV} ${WRKSRC}/ext/dl/h2rb ${WRKSRC}/bin/