What are duplicate INDEX entries and why do I have them?

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Sep 26 02:34:08 PDT 2004


On Sun, Sep 26, 2004 at 10:28:37AM +0200, Jens Schweikhardt wrote:
> On Sat, Sep 25, 2004 at 03:19:53PM +0100, Matthew Seaman wrote:
> # On Sat, Sep 25, 2004 at 03:08:29PM +0200, Jens Schweikhardt wrote:
> # 
> # > out of curiosity, with a ports tree cvsup'ed right now and checked out
> # > (and for the last months as well) I see
> # > 
> # > portsdb -Uu
> # > Updating the ports index ... Generating INDEX.tmp - please wait..
> # > Warning: Duplicate INDEX entry: freeciv-gtk2-1.14.1
> # > Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.2
> # > Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5
> # > Warning: Duplicate INDEX entry: fvwm-imlib-2.4.18
> # >  Done.
> # > 
> # > Does anyone else have duplicate INDEX entries? Is something stale in
> # > my ports tree?
> # 
> # That's normal and harmless.  It happens because you've got
> # WANT_APACHE2=yes set in /etc/make.conf (or equivalent), and because
> # you've got GTK2 and imlib installed.

Bah! I typoed that.  It should say 'WITH_APACHE2'.

> Could the reason be slightly different? There's no WANT_APACHE2 anywhere
> I can see, but I have apache2 installed, and there's
> apache2_enable="YES" in /etc/rc.conf.

Actually, yes.  The www/mod_jk2 port detects if you have apache2
installed and automatically sets WITH_APACHE2 for you:

    .if exists(${LOCALBASE}/include/apache2/apr.h)
    WITH_APACHE2=   yes
    .endif

mod_rpaf and mod_rpaf2 both use
${PORTSDIR}/www/apache2/Makefile.modules.3rd which has similar logic
to detect the installed version of apache.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040926/68df959e/attachment.bin


More information about the freebsd-ports mailing list