Move if statement before target name

Avoids empty target when condition is false.

Reported by:	mat
This commit is contained in:
Steve Wills 2017-12-15 15:22:29 +00:00
parent 79cfdfcb24
commit 440b134f02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456401

View File

@ -30,8 +30,8 @@ MAKE_ARGS= sitelibdir='$$(rubylibdir)' \
.include <bsd.port.pre.mk>
post-patch:
.if ${RUBY_VER} >= 2.4
post-patch:
@${REINPLACE_CMD} -e '/\/include\/ruby.h/d' ${WRKSRC}/depend
.endif