OPTIONS and dynamic PKGNAMPREFIX, e.g. {APACHE, PYTHON, ETC}_PKGNAMEPREFIX (Was: ports/148637 ...)

Anonymous swell.k at gmail.com
Wed Jul 21 22:06:58 UTC 2010


"Philip M. Gollucci" <pgollucci at p6m7g8.com> writes:

> On 07/21/10 20:30, Christopher Key wrote:
>>  On 19/07/2010 21:05, Anonymous wrote:
>>> Christopher Key<cjk32 at cam.ac.uk>  writes:
>>>
>>>>   A crude survey shows several ports with this problem, listed below.
>>> ...
>>>> If you can suggest which is the
>>>> preferred solution, I'll put together a patch.
>>>
>>> I don't know what workaround is preferred but I'd suggest
>>> UNIQUENAME. It's easier to type and has same dependency on
>>> PKGNAMEPREFIX.
>
> The mod_* ports should not be py-* prefixed.

Agree. They should have constant ap-* prefix. The one you suggest below
has uncertain value.

>
> If you're going to do it, they should he ap${APACHE_VERSION}- prefixed.
>

Did you actually test it? After setting

  UNIQUENAME = ap${APACHE_VERSION}-${PORTNAME}

and selecting MP4 in www/mod_musicindex it still thinks WITH_MP4 is not
defined.


More information about the freebsd-ports mailing list