diff options
-rw-r--r-- | Mk/bsd.ruby.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index a6daf45..b73c96f1 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 |