Bug 37046

Summary: ports/www/apache2 builds with "expr: syntax error"
Product: Ports & Packages Reporter: send-pr <send-pr>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description send-pr 2002-04-13 22:40:00 UTC
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).

Fix: 

Really need a patch? It's straightforward...
Comment 1 Hye-Shik Chang 2002-04-13 23:01:58 UTC
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
> 


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
Comment 2 Patrick Li freebsd_committer freebsd_triage 2002-04-14 21:37:33 UTC
State Changed
From-To: open->closed

Fixed, Thanks!