ports/103813: www/p5-Apache-DBI: fix package dependenies when WITH_MODPERL2 and WITH_APACHE2 are defined

Scot Hetzel swhetzel at gmail.com
Fri Sep 29 17:10:30 UTC 2006


>Number:         103813
>Category:       ports
>Synopsis:       www/p5-Apache-DBI: fix package dependenies when WITH_MODPERL2 and WITH_APACHE2 are defined
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 29 17:10:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Scot Hetzel
>Release:        
>Organization:
>Environment:
>Description:
It was reported on the ports mailing list that when WITH_MODPERL2 and WITH_APACHE2 are defined and www/apache22 is installed, the port registers an extra dependancy on the www/apache20 port.

On 9/27/06, Steve Watt <steve at watt.com> wrote:
> Hello,
> 
> I'm trying to build a package for p5-Apache-DBI in a mod_perl2 +
> apache22 system.
> 
> The package comes out with all manner of strange dependencies:
> 
> If I 'make WITH_MODPERL2=yes WITH_APACHE2=yes', the dependencies
> in the package are:
> Registering depends: apache-2.0.59 mod_perl2-2.0.2,3 apache-2.2.3 libiconv-1.9.2_2 expat-2.0.0_1 p5-DBI-1.52 p5-Storable-2.15 perl-5.8.8.
> 
> Note that apache-2.0.59 and apache-2.2.3 are both listed.
> 

>How-To-Repeat:
On a system with Apache 2.2 installed, run:

cd /usr/ports/www/p5-Apache-DBI
make -V RUN_DEPENDS -DWITH_MODPERL2 -DWITH_APACHE2

And you should get the following RUN_DEPEND dependancies:

/usr/local/sbin/apxs:/usr/ports/www/apache20
/usr/local/lib/perl5/site_perl/5.8.8/mach/mod_perl2.pm:/usr/ports/www/mod_perl2
/usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm:/usr/ports/databases/p5-DBI
/usr/local/bin/perl5.8.8:/usr/ports/lang/perl5.8
/usr/local/sbin/apxs:/usr/ports/www/apache20


>Fix:
With the patch in the follow-up email:

make -V RUN_DEPENDS -DWITH_MODPERL2 -DWITH_APACHE2

will now report the following RUN_DEPEND dependancies:

/usr/local/lib/perl5/site_perl/5.8.8/mach/mod_perl2.pm:/usr/ports/www/mod_perl2 /usr/local/sbin/apxs:/usr/ports/www/apache22 /usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm:/usr/ports/databases/p5-DBI /usr/local/bin/perl5.8.8:/usr/ports/lang/perl5.8 /usr/local/sbin/apxs:/usr/ports/www/apache22

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list