Bug 37046 - ports/www/apache2 builds with "expr: syntax error"
Summary: ports/www/apache2 builds with "expr: syntax error"
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-13 22:40 UTC by send-pr
Modified: 2002-04-14 21:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!