diff options
author | swills <swills@FreeBSD.org> | 2017-12-15 23:22:29 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2017-12-15 23:22:29 +0800 |
commit | 8aaffd48612032f32c43b4c3ea26fa71a877a6d6 (patch) | |
tree | 0af770a43a25bb05cf72e1c0946721536577b52f /databases/ruby-gdbm | |
parent | b0493b6b4e48c713336af677533364af148006f0 (diff) | |
download | freebsd-ports-gnome-8aaffd48612032f32c43b4c3ea26fa71a877a6d6.tar.gz freebsd-ports-gnome-8aaffd48612032f32c43b4c3ea26fa71a877a6d6.tar.zst freebsd-ports-gnome-8aaffd48612032f32c43b4c3ea26fa71a877a6d6.zip |
Move if statement before target name
Avoids empty target when condition is false.
Reported by: mat
Diffstat (limited to 'databases/ruby-gdbm')
-rw-r--r-- | databases/ruby-gdbm/Makefile | 2 |
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 |