Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2009 00:35:25 +0100 (CET)
From:      Jilles Tjoelker <jilles@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/140126: databases/db3: syntax error in configure script
Message-ID:  <20091030233525.41F57228BE@snail.stack.nl>
Resent-Message-ID: <200910302340.n9UNe5p2028412@freefall.freebsd.org>

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

>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:



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