svn commit: r456401 - head/databases/ruby-gdbm

Steve Wills swills at FreeBSD.org
Fri Dec 15 15:22:30 UTC 2017


Author: swills
Date: Fri Dec 15 15:22:29 2017
New Revision: 456401
URL: https://svnweb.freebsd.org/changeset/ports/456401

Log:
  Move if statement before target name
  
  Avoids empty target when condition is false.
  
  Reported by:	mat

Modified:
  head/databases/ruby-gdbm/Makefile

Modified: head/databases/ruby-gdbm/Makefile
==============================================================================
--- head/databases/ruby-gdbm/Makefile	Fri Dec 15 15:15:02 2017	(r456400)
+++ head/databases/ruby-gdbm/Makefile	Fri Dec 15 15:22:29 2017	(r456401)
@@ -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
 


More information about the svn-ports-head mailing list