aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.ruby.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/bsd.ruby.mk
parentcd98d47ae0a5a1f371917c39450bbb3e01873f09 (diff)
downloadports-59b7a895b7607fa0c1347ac17752f58e618c3235.tar.gz
ports-59b7a895b7607fa0c1347ac17752f58e618c3235.zip
Notes
Diffstat (limited to 'Mk/bsd.ruby.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