Fix NO_REGRESS=Yes being set on ruby ports with MODRUBY_REGRESS set,

broken in r1.49.
This commit is contained in:
jeremy 2011-12-09 21:41:43 +00:00
parent e9a07850f5
commit d916ad4bb8

View File

@ -1,4 +1,4 @@
# $OpenBSD: ruby.port.mk,v 1.49 2011/12/02 19:33:39 jeremy Exp $
# $OpenBSD: ruby.port.mk,v 1.50 2011/12/09 21:41:43 jeremy Exp $
# ruby module
@ -152,10 +152,12 @@ MODRUBY_BIN_RSPEC = ${LOCALBASE}/bin/rspec${MODRUBY_BINREV}
. endif
.endif
.if defined(MODRUBY_REGRESS) && !${MODRUBY_REGRESS:L:Mrspec} && \
!${MODRUBY_REGRESS:L:Mrspec2} && !${MODRUBY_REGRESS:L:Mrake} && \
!${MODRUBY_REGRESS:L:Mruby} && !${MODRUBY_REGRESS:L:Mtestrb}
.if defined(MODRUBY_REGRESS)
. if !${MODRUBY_REGRESS:L:Mrspec} && \
!${MODRUBY_REGRESS:L:Mrspec2} && !${MODRUBY_REGRESS:L:Mrake} && \
!${MODRUBY_REGRESS:L:Mruby} && !${MODRUBY_REGRESS:L:Mtestrb}
ERRORS += "Fatal: Unsupported MODRUBY_REGRESS value: ${MODRUBY_REGRESS}"
. endif
.else
. if ${CONFIGURE_STYLE:L:Mextconf} || ${CONFIGURE_STYLE:L:Mgem} || \
${CONFIGURE_STYLE:L:Msetup}