diff options
author | knu <knu@FreeBSD.org> | 2003-08-22 09:25:17 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-08-22 09:25:17 +0000 |
commit | 19938e82cdeceb3a4cb1463388bb83d59c38c321 (patch) | |
tree | 2a4ce320ed3c3bcfb6c4d9f880b697c6a3dac677 /Mk | |
parent | 06d0878f077e934a2320b02d3a096db72ac8c603 (diff) | |
download | FreeBSD-ports-19938e82cdeceb3a4cb1463388bb83d59c38c321.zip FreeBSD-ports-19938e82cdeceb3a4cb1463388bb83d59c38c321.tar.gz |
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')
-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 |