Date: Wed, 30 Mar 2011 00:03:50 +0200 From: Olli Hauer <ohauer@FreeBSD.org> To: "Philip M. Gollucci" <pgollucci@p6m7g8.com> Cc: ohauer@FreeBSD.org, "Philip M. Gollucci" <pgollucci@FreeBSD.org>, apache@FreeBSD.org Subject: Re: need some hint about how to handle the following issue (new bsd.apache.mk) Message-ID: <4D925746.8000104@FreeBSD.org> In-Reply-To: <4D925470.1060508@p6m7g8.com> References: <4D924088.20206@gmx.de> <4D924868.3020707@p6m7g8.com> <4D92503F.4020004@FreeBSD.org> <4D925470.1060508@p6m7g8.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-03-29 23:51, Philip M. Gollucci wrote: > On 03/29/11 21:33, Olli Hauer wrote: >> http://people.freebsd.org/~ohauer/diffs/Mk/PR_147009_ports__Mk__bsd.apache.mk_2011-03-29_01.diff >> http://people.freebsd.org/~ohauer/diffs/Mk/PR_147009_bsd.apache.mk_2011-03-29_01.txt > >> @Philip >> do you know the reason for the following expression >> at top of bsd.apache.mk >> >>> .if !defined(Apache_Pre_Include) || defined(PORT_IS_MODULE) > > USE_APACHE= common22 is reserved specifically so that www/apache* ports > can use Mk/bsd.apache.mk themselves. Note how *zope* ports get this wrong. > > When USE_APACHE= commmonXX AP_PORT_IS_SERVER is true meaning your in > www/apacheX* ports. When AP_PORT_IS_MODULE is true you're got > USE_APACHE=XX and you're in anything not www/apacheXX. Usually www/mod_*. > > See also the layout for www/apache22 and www/apache22-$mpm-mpm which > re-uses the commonXX. > The use of commonXX is clear, maybe the following explains better why I ask. -.if !defined(Apache_Pre_Include) || defined(PORT_IS_MODULE) +.if !defined(Apache_Pre_Include) || defined(AP_PORT_IS_MODULE)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D925746.8000104>