packaging mod_python

Alexey Rubtsov arubtsov at swsoft.com
Sun Aug 12 21:10:36 PDT 2007


On Thu, 09 Aug 2007 19:19:58 +0700, Scot Hetzel <swhetzel at gmail.com> wrote:

> On 8/9/07, Alexey Rubtsov <arubtsov at swsoft.com> wrote:
>>    I try to install mod_pyhon3 from ports and was some saddened.
>> The port was installed correctly but name for package is "mod_python".
>>    It makes the problem if i try to create packages "mod_python" for
>> different apache versions(for example apache20 and apache22). This
>> packages was created with the same name.
>>    So impossible to create local repository of packages with all  
>> packages
>> what i need.
>>
>>
>> Decide:
>>    Add PKGNAMESUFFX into Makefile of port like this for example:
>>
>> .if (${APACHE_PORT} == "www/apache22")
>> PKGNAMESUFFIX= -ap22
>> .elif (${APACHE_PORT} == "www/apache20")
>> PKGNAMESUFFIX= -ap20
>> .endif
>>
>> This problem exists in mod_jk2 and mod_perl.
>> Possibly somethere else...
>>
>
> The best place to put this would be in Mk/bsd.apache.mk, it would then
> get applied to all the mod_* ports.  Instead of using PKGNAMESUFFIX,
> it should be changed to PKGNAMEPREFIX, as we currently have a
> preference for this (i.e py-24-*, py25-*, qt3-*, qt4-*, p5-*,
> linux-*).
>
> Scot

Ok. What can i do for include this changes into bsd.apache.mk?

-- 
Alexey Rubtsov
Plesk(Unix) Developer
SwSoft, Inc.
E-mail: arubtsov at swsoft.com
Phone: +7.923.232.8243
ICQ UIN: 929399162
Web Site: www.swsoft.com


More information about the freebsd-ports mailing list