summaryrefslogtreecommitdiff
path: root/databases/ruby-gdbm
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2017-12-15 15:22:29 +0000
committerSteve Wills <swills@FreeBSD.org>2017-12-15 15:22:29 +0000
commit440b134f0271186f5cac7e2a3a6cbc1aab878bd2 (patch)
tree0af770a43a25bb05cf72e1c0946721536577b52f /databases/ruby-gdbm
parentImprove handling of the system architecture in `lang/ocaml'. (diff)
Move if statement before target name
Avoids empty target when condition is false. Reported by: mat
Notes
Notes: svn path=/head/; revision=456401
Diffstat (limited to 'databases/ruby-gdbm')
-rw-r--r--databases/ruby-gdbm/Makefile2
1 files changed, 1 insertions, 1 deletions
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 <bsd.port.pre.mk>
-post-patch:
.if ${RUBY_VER} >= 2.4
+post-patch:
@${REINPLACE_CMD} -e '/\/include\/ruby.h/d' ${WRKSRC}/depend
.endif