Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2017 11:39:37 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449340 - head/devel/leiningen
Message-ID:  <201709061139.v86Bdb6B018006@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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|' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709061139.v86Bdb6B018006>