From hmo@sep.oldach.net  Sat Apr 13 14:31:43 2002
Return-Path: <hmo@sep.oldach.net>
Received: from sep.oldach.net (sep.oldach.net [194.180.25.6])
	by hub.freebsd.org (Postfix) with ESMTP id 3B74237B404
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 13 Apr 2002 14:31:41 -0700 (PDT)
Received: (from hmo@localhost)
	by sep.oldach.net (8.11.6/8.11.6/hmo09mar02) id g3DLVaW05703;
	Sat, 13 Apr 2002 23:31:36 +0200 (CEST)
	(envelope-from hmo)
Message-Id: <200204132131.g3DLVaW05703@sep.oldach.net>
Date: Sat, 13 Apr 2002 23:31:36 +0200 (CEST)
From: Helge Oldach <send-pr@oldach.net>
Reply-To: Helge Oldach <send-pr@oldach.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: ports/www/apache2 builds with "expr: syntax error"
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         37046
>Category:       ports
>Synopsis:       ports/www/apache2 builds with "expr: syntax error"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 13 14:40:00 PDT 2002
>Closed-Date:    Sun Apr 14 13:37:50 PDT 2002
>Last-Modified:  Sun Apr 14 13:37:50 PDT 2002
>Originator:     Helge Oldach
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD sep.oldach.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Mar 19 20:26:01 CET 2002 toor@sep.oldach.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

Building ports/www/apache2 ends with two "expr: syntax error" messages.
This is caused by files/patch-srclib:apr:build:ltmain.sh which
substitutes a bunch of

	expr something : pattern

with

	expr -- something : pattern

This syntax isn't supported by STABLE's expr. This patch file should
only be applied if ${OSVERSION} >= 500032 (see Makefile). Actually it's
just obsolete as the port's Makefile already contains code to make
exactly these changes to srclib/apr/build/ltmain.sh (introduced with
PORTREVISION 1).

>How-To-Repeat:
	
>Fix:

	Really need a patch? It's straightforward...
>Release-Note:
>Audit-Trail:

From: Hye-Shik Chang <perky@fallin.lv>
To: Helge Oldach <send-pr@oldach.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/37046: ports/www/apache2 builds with "expr: syntax error"
Date: Sun, 14 Apr 2002 07:01:58 +0900

 --gBBFr7Ir9EOA20Yy
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, Apr 13, 2002 at 11:31:36PM +0200, Helge Oldach wrote:
 > Building ports/www/apache2 ends with two "expr: syntax error" messages.
 > This is caused by files/patch-srclib:apr:build:ltmain.sh which
 > substitutes a bunch of
 >=20
 
 Yes. that patch should be removed.
 (pat replaced that patch file with simple Perl script on Makefile)
 
 --
 Hye-Shik Chang <perky@fallin.lv>
 Yonsei University, Seoul
 
 --gBBFr7Ir9EOA20Yy
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.6 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE8uKrWDWUsWc/bS6QRApj0AJ9P1/+yQ5+z2IEKeiEFgjW7eHyFMwCffGeP
 un40R2NhA+uaJQUhbZqUing=
 =NGes
 -----END PGP SIGNATURE-----
 
 --gBBFr7Ir9EOA20Yy--
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Sun Apr 14 13:37:33 PDT 2002 
State-Changed-Why:  
Fixed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37046 
>Unformatted:
