summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-08-22 09:25:17 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-08-22 09:25:17 +0000
commit59b7a895b7607fa0c1347ac17752f58e618c3235 (patch)
tree757471cb82869cb788bd9e6e66e5de88a48d296c /Mk
parentUpdate to 3.00, which fixes URL unescaping with fx. openwebmail (diff)
Fix the problem that RUBY_WITH_PTHREAD is unwantedly nullified for the
*_r ports. Reported by: kris, nork, broken make index
Notes
Notes: svn path=/head/; revision=87490
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.ruby.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index a6daf4513b71..b73c96f19b64 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -184,7 +184,9 @@ CONFIGURE_TARGET= # empty
RUBY_CONFIGURE_ARGS+= --target="${RUBY_ARCH}" --program-prefix=""
-.if ${OSVERSION} >= 501000
+# PORTDIRNAME is not defined yet
+_IS_RUBY_R_PORT= ${.CURDIR:M*_r}
+.if ${OSVERSION} >= 501000 && empty(_IS_RUBY_R_PORT)
.undef RUBY_WITH_PTHREAD
.endif