Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2010 22:23:26 +0000
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        Anonymous <swell.k@gmail.com>
Cc:        freebsd-ports@freebsd.org, Christopher Key <cjk32@cam.ac.uk>
Subject:   Re: OPTIONS and dynamic PKGNAMPREFIX, e.g. {APACHE, PYTHON, ETC}_PKGNAMEPREFIX (Was: ports/148637 ...)
Message-ID:  <4C44D05E.4010400@p6m7g8.com>
In-Reply-To: <86sk3f5jb3.fsf@gmail.com>
References:  <4C44A05B.6040308@cam.ac.uk> <86sk3f5jb3.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/19/10 20:05, Anonymous wrote:
> Christopher Key <cjk32@cam.ac.uk> writes:
> 
>>  A crude survey shows several ports with this problem, listed below.
>> There appear to be three different solutions used in other ports:
>> explicitly setting OPTIONSFILE, explicitly setting UNIQUENAME, and
>> explicitly setting LATEST_LINK.  If you can suggest which is the
>> preferred solution, I'll put together a patch.
> 
> They all are workarounds. OPTIONSFILE should be defined *after*
> including bsd.{apache,python,etc}.mk so that user can have different
> options for different versions of apache/python/etc[1]. Same is true for
> UNIQUENAME but it has users under Mk/ directory
> (bsd.{databases,tcl}.mk), so it should be defined before them.
> 
> I don't know what workaround is preferred but I'd suggest
> UNIQUENAME. It's easier to type and has same dependency on
> PKGNAMEPREFIX.
> 
> [1] For www/mod_musicindex it would be
>       /var/db/ports/ap20-mod_musicindex/options
>       /var/db/ports/ap22-mod_musicindex/options
> 
>    You can't install into same PREFIX because its DATADIR is not apache
>    version dependant. But many python ports work fine with same PREFIX.
In the distant future versioned ports will version the DATADIR correctly
for apache related anyway.


- -- 
- ------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFMRNBedbiP+9ubjBwRAujrAJ9vOzkjbGH3WRrIMNHqBin9vf9NmACeLdFo
dUVG0AyBih6bBJRMvANRn5w=
=vGkB
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C44D05E.4010400>