From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 30 23:40:05 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F832106568F for ; Fri, 30 Oct 2009 23:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6281D8FC16 for ; Fri, 30 Oct 2009 23:40:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9UNe50Y028413 for ; Fri, 30 Oct 2009 23:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9UNe5p2028412; Fri, 30 Oct 2009 23:40:05 GMT (envelope-from gnats) Resent-Date: Fri, 30 Oct 2009 23:40:05 GMT Resent-Message-Id: <200910302340.n9UNe5p2028412@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jilles Tjoelker Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35DF0106566B for ; Fri, 30 Oct 2009 23:35:26 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay04.stack.nl [IPv6:2001:610:1108:5010::107]) by mx1.freebsd.org (Postfix) with ESMTP id F32118FC12 for ; Fri, 30 Oct 2009 23:35:25 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 58B7C1DD68A for ; Sat, 31 Oct 2009 00:35:25 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id 41F57228BE; Sat, 31 Oct 2009 00:35:25 +0100 (CET) Message-Id: <20091030233525.41F57228BE@snail.stack.nl> Date: Sat, 31 Oct 2009 00:35:25 +0100 (CET) From: Jilles Tjoelker To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/140126: databases/db3: syntax error in configure script X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jilles Tjoelker List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2009 23:40:05 -0000 >Number: 140126 >Category: ports >Synopsis: databases/db3: 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: Fri Oct 30 23:40:04 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. The error message is like configure: 1: Syntax error: Unterminated quoted string possibly followed by a message with the real line number. >How-To-Repeat: Try to build databases/db3 with a /bin/sh with r197691 change in it. >Fix: Adding this patch as files/patch-dist::configure.2 seems to fix this. It commutes with the other changes to the configure script. Perhaps it is cleaner to fold it into the other patch. --- databases-db3-syntaxfix.patch begins here --- --- ../dist/configure.orig 2009-10-31 00:11:37.000000000 +0100 +++ ../dist/configure 2009-10-31 00:12:10.000000000 +0100 @@ -8728,7 +8728,7 @@ done JTOPDIR=`echo "$JAVACABS" | sed -e 's://*:/:g' -e 's:/[^/]*$::'` case "$host_os" in - darwin*) JTOPDIR=`echo "$JTOPDIR" | sed -e s:/[^/]*$::'` + darwin*) JTOPDIR=`echo "$JTOPDIR" | sed -e 's:/[^/]*$::'` JNIHEADERDIR="$JTOPDIR/Headers";; *) JNIHEADERDIR="$JTOPDIR/include";; esac --- databases-db3-syntaxfix.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: