Bug 91813 - [patch] www/apache22 build fails when WITH_MPM option enabled
Summary: [patch] www/apache22 build fails when WITH_MPM option enabled
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: Clement Laforet
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 04:50 UTC by Hirohisa Yamaguchi
Modified: 2006-01-15 19:01 UTC (History)
0 users

See Also:


Attachments
file.diff (615 bytes, patch)
2006-01-15 04:50 UTC, Hirohisa Yamaguchi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hirohisa Yamaguchi 2006-01-15 04:50:05 UTC
	When I tried to build apache-worker-2.2.0_5, I got:

# make WITH_MPM=worker
"/usr/ports/www/apache22/Makefile.modules", line 118: Malformed conditional (${WITH_PTHREAD_LIBS} != "c_r" && ${OSVERSION} > 500023)
"/usr/ports/www/apache22/Makefile.modules", line 121: Malformed conditional (${ARCH} == i386)
"/usr/ports/www/apache22/Makefile.modules", line 124: if-less else
"/usr/ports/www/apache22/Makefile.modules", line 126: if-less endif
"/usr/ports/www/apache22/Makefile.modules", line 127: if-less endif
make: fatal errors encountered -- cannot continue

Fix: my patch follows:
How-To-Repeat: 	# cd ports/www/apache22
	# make WITH_MPM=worker
			or perchild, threadpool, event, prefork
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-15 04:52:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clement

Over to maintainer
Comment 2 Clement Laforet freebsd_committer freebsd_triage 2006-01-15 19:00:32 UTC
State Changed
From-To: open->closed

Logic has been corrected with latest cleanups. Thanks for your patch and  
your report.