Date: Thu, 9 Aug 2007 07:19:58 -0500 From: "Scot Hetzel" <swhetzel@gmail.com> To: "Alexey Rubtsov" <arubtsov@swsoft.com> Cc: ports@freebsd.org, girgen@freebsd.org, perky@freebsd.org Subject: Re: packaging mod_python Message-ID: <790a9fff0708090519x7ad0795eme128b4c265e9a7a1@mail.gmail.com> In-Reply-To: <op.twr1yffgb0ok5j@localhost> References: <op.twr1yffgb0ok5j@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/9/07, Alexey Rubtsov <arubtsov@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 -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0708090519x7ad0795eme128b4c265e9a7a1>