From 440b134f0271186f5cac7e2a3a6cbc1aab878bd2 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Fri, 15 Dec 2017 15:22:29 +0000 Subject: Move if statement before target name Avoids empty target when condition is false. Reported by: mat --- databases/ruby-gdbm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'databases/ruby-gdbm') diff --git a/databases/ruby-gdbm/Makefile b/databases/ruby-gdbm/Makefile index 4482b2a1c4df..ad5d4f74e116 100644 --- a/databases/ruby-gdbm/Makefile +++ b/databases/ruby-gdbm/Makefile @@ -30,8 +30,8 @@ MAKE_ARGS= sitelibdir='$$(rubylibdir)' \ .include -post-patch: .if ${RUBY_VER} >= 2.4 +post-patch: @${REINPLACE_CMD} -e '/\/include\/ruby.h/d' ${WRKSRC}/depend .endif -- cgit v1.2.3