diff options
author | knu <knu@FreeBSD.org> | 2003-08-22 17:25:17 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-08-22 17:25:17 +0800 |
commit | 19938e82cdeceb3a4cb1463388bb83d59c38c321 (patch) | |
tree | 2a4ce320ed3c3bcfb6c4d9f880b697c6a3dac677 /Mk/bsd.ruby.mk | |
parent | 06d0878f077e934a2320b02d3a096db72ac8c603 (diff) | |
download | freebsd-ports-graphics-19938e82cdeceb3a4cb1463388bb83d59c38c321.tar.gz freebsd-ports-graphics-19938e82cdeceb3a4cb1463388bb83d59c38c321.tar.zst freebsd-ports-graphics-19938e82cdeceb3a4cb1463388bb83d59c38c321.zip |
Fix the problem that RUBY_WITH_PTHREAD is unwantedly nullified for the
*_r ports.
Reported by: kris, nork, broken make index
Diffstat (limited to 'Mk/bsd.ruby.mk')
-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 a6daf4513b7..b73c96f19b6 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 |