-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/19/10 20:05, Anonymous wrote: > Christopher Key <cj...@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 (pgollu...@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----- _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"