Bug 91813

Summary: [patch] www/apache22 build fails when WITH_MPM option enabled
Product: Ports & Packages Reporter: Hirohisa Yamaguchi <umq>
Component: Individual Port(s)Assignee: Clement Laforet <clement>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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.