svn commit: r449340 - head/devel/leiningen

Tobias Kortkamp tobik at FreeBSD.org
Wed Sep 6 11:39:38 UTC 2017


Author: tobik
Date: Wed Sep  6 11:39:36 2017
New Revision: 449340
URL: https://svnweb.freebsd.org/changeset/ports/449340

Log:
  devel/leiningen: Fix build on CURRENT
  
  post-patch fails with
  
  sed: 1: "s|function (.*) {|\1() {|
  ": RE error: repetition-operator operand invalid

Modified:
  head/devel/leiningen/Makefile

Modified: head/devel/leiningen/Makefile
==============================================================================
--- head/devel/leiningen/Makefile	Wed Sep  6 11:33:08 2017	(r449339)
+++ head/devel/leiningen/Makefile	Wed Sep  6 11:39:36 2017	(r449340)
@@ -33,7 +33,7 @@ SHEBANG_FILES=	bin/lein-pkg
 bash_CMD=	/bin/sh
 
 post-patch:
-	@${REINPLACE_CMD} -E -e 's|function (.*) {|\1() {|' \
+	@${REINPLACE_CMD} -E -e 's|function (.*) \{|\1() {|' \
 		-e 's|(local )-i |\1|' \
 		-e 's|^if \[\[ (.*) \]\];|if [ \1 ];|' \
 		-e 's|(BOOTCLASSPATH)\[@\]|\1|' \


More information about the svn-ports-head mailing list