Move if statement before target name
Avoids empty target when condition is false. Reported by: mat
This commit is contained in:
parent
79cfdfcb24
commit
440b134f02
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456401
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user