Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2009 16:27:33 +0100 (CET)
From:      Jilles Tjoelker <jilles@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/140140: korean/bitchx: syntax error in configure script
Message-ID:  <20091031152733.6CCAA228BE@snail.stack.nl>
Resent-Message-ID: <200910311530.n9VFU2Jp099666@freefall.freebsd.org>

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

>Number:         140140
>Category:       ports
>Synopsis:       korean/bitchx: 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:   Sat Oct 31 15:30:02 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.

--- korean-bitchx-syntaxfix.patch begins here ---
--- ports/korean/bitchx/Makefile.orig	2009-10-31 01:49:12.000000000 +0100
+++ ports/korean/bitchx/Makefile	2009-10-31 16:06:01.000000000 +0100
@@ -41,7 +41,7 @@
 CONFIGURE_ARGS+=--without-gtk
 
 post-patch:
-	${TOUCH} ${WRKSRC}/configure
+	${REINPLACE_CMD} -e 's:`$$AWK '"'"'{print $$3}'"'"' /etc/.relid'"'"'`:`$$AWK '"'"'{print $$3}'"'"' /etc/.relid`:g' ${WRKSRC}/configure
 
 post-install:
 	@(${LN} -sf ${PREFIX}/bin/BitchX ${PREFIX}/bin/bx)
--- korean-bitchx-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?20091031152733.6CCAA228BE>