Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  1 Nov 2009 15:58:28 +0100 (CET)
From:      Jilles Tjoelker <jilles@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/140167: devel/e4graph: syntax error in configure script
Message-ID:  <20091101145828.E7F60228BE@snail.stack.nl>
Resent-Message-ID: <200911011500.nA1F0ERx050106@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         140167
>Category:       ports
>Synopsis:       devel/e4graph: syntax error in configure script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 01 15:00:13 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jilles Tjoelker
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
MCGV Stack
>Environment:
/bin/sh r197691 or newer
>Description:
Due to a change in /bin/sh a mismatched single quote inside backticks
(`...`) now causes configure to fail.
>How-To-Repeat:
Try to build the port with a /bin/sh with r197691 change in it.
>Fix:
Apply this patch to the port Makefile.

Alternatively, an upgrade may help. The broken code (tcl.m4) seems to originate
with tcl 8.3 or older.

--- devel-e4graph-syntaxfix.patch begins here ---
--- ports/devel/e4graph/Makefile.orig	2009-08-22 02:18:00.000000000 +0200
+++ ports/devel/e4graph/Makefile	2009-11-01 15:32:50.000000000 +0100
@@ -46,7 +46,8 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's|=-O$$|="$${CFLAGS}"|g ; \
 		s|gcc -shared|$$(CC) -shared|g ; \
-		s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
+		s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir| ; \
+		s:`awk '"'"'{print }'"'"' /etc/.relid'"'"'`:`awk '"'"'{print }'"'"' /etc/.relid`:g' \
 			${WRKSRC}/configure
 	@${CHMOD} +x ${WRKSRC}/scripts/ltconfig
 
--- devel-e4graph-syntaxfix.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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