svn commit: r511452 - in head/devel/rubygem-cucumber-core: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Sep 7 22:45:24 UTC 2019


Author: sunpoet
Date: Sat Sep  7 22:45:24 2019
New Revision: 511452
URL: https://svnweb.freebsd.org/changeset/ports/511452

Log:
  Use REINPLACE_CMD instead of patch files

Deleted:
  head/devel/rubygem-cucumber-core/files/
Modified:
  head/devel/rubygem-cucumber-core/Makefile

Modified: head/devel/rubygem-cucumber-core/Makefile
==============================================================================
--- head/devel/rubygem-cucumber-core/Makefile	Sat Sep  7 22:45:18 2019	(r511451)
+++ head/devel/rubygem-cucumber-core/Makefile	Sat Sep  7 22:45:24 2019	(r511452)
@@ -21,4 +21,9 @@ USE_RUBY=	yes
 
 NO_ARCH=	yes
 
+post-patch:
+# Remove backports
+	@${REINPLACE_CMD} -e '/backports/d' ${WRKSRC}/cucumber-core.gemspec
+	@${REINPLACE_CMD} -e "/require 'backports/d" ${WRKSRC}/lib/cucumber/core/event.rb
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list