need some hint about how to handle the following issue (new bsd.apache.mk)

Philip M. Gollucci pgollucci at p6m7g8.com
Tue Mar 29 21:51:48 UTC 2011


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.




-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Sr. System Admin,                 Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 188 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20110329/38081b48/signature.pgp


More information about the freebsd-apache mailing list