Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2009 15:54:58 +0100 (CET)
From:      Jilles Tjoelker <jilles@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/140139: irc/bitchx: syntax error in configure script
Message-ID:  <20091031145458.8427E228BE@snail.stack.nl>
Resent-Message-ID: <200910311500.n9VF0C25073971@freefall.freebsd.org>

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

>Number:         140139
>Category:       ports
>Synopsis:       irc/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:00:12 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.

--- irc-bitchx-syntaxfix.patch begins here ---
--- ports/irc/bitchx/Makefile.orig	2009-09-19 05:18:12.000000000 +0200
+++ ports/irc/bitchx/Makefile	2009-10-31 01:05:59.000000000 +0100
@@ -107,6 +107,7 @@
 	${REINPLACE_CMD} -e 's|#undef LATIN1|#define LATIN1|g' ${WRKSRC}/include/config.h
 .endif
 	${REINPLACE_CMD} -e 's|bzip2|true|g' ${WRKSRC}/Makefile.in
+	${REINPLACE_CMD} -e 's:`$$AWK '"'"'{print }'"'"' /etc/.relid'"'"'`:`$$AWK '"'"'{print }'"'"' /etc/.relid`:g' ${WRKSRC}/configure
 
 post-install:
 .if !defined(NOPORTDOCS)
--- irc-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?20091031145458.8427E228BE>