Date: Fri, 15 Dec 2017 00:49:42 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456377 - head/databases/ruby-gdbm Message-ID: <201712150049.vBF0ngF6077854@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Fri Dec 15 00:49:42 2017 New Revision: 456377 URL: https://svnweb.freebsd.org/changeset/ports/456377 Log: databases/ruby-gdbm: Fix build with Ruby 2.4 Modified: head/databases/ruby-gdbm/Makefile Modified: head/databases/ruby-gdbm/Makefile ============================================================================== --- head/databases/ruby-gdbm/Makefile Thu Dec 14 22:37:49 2017 (r456376) +++ head/databases/ruby-gdbm/Makefile Fri Dec 15 00:49:42 2017 (r456377) @@ -28,8 +28,15 @@ MAKE_ARGS= sitelibdir='$$(rubylibdir)' \ INSTALL_PROG="${INSTALL_PROGRAM}" \ INSTALL_DATA="${INSTALL_DATA}" +.include <bsd.port.pre.mk> + +post-patch: +.if ${RUBY_VER} >= 2.4 + @${REINPLACE_CMD} -e '/\/include\/ruby.h/d' ${WRKSRC}/depend +.endif + do-extract: ${MKDIR} ${WRKDIR} ${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/ -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712150049.vBF0ngF6077854>