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@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. > 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 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
State Changed From-To: open->feedback Awaiting maintainers feedback
Attached is a patch that fixes the package dependancies for the www/p5-Apache-DBI port. -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.
Opps, I didn't test the patch when -DWITH_MODPERL2 is not defined. Apparently the www/mod_perl port is only for Apache 1.3, and the www/mod_perl2 port is for Apache 2.0+. Change the USE_APACHE=1.3+ to USE_APACHE=yes before commiting the port. -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.
I basically regenerated this patch while Cydex was fixing the Headers on the previous patch. Additionally, I moved the BUILD_DEPENDS into the conditions to shut up portlint -AC -- ------------------------------------------------------------------------ Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF I never had a dream come true 'Til the day that I found you. Even though I pretend that I've moved on You'll always be my baby. I never found the words to say You're the one I think about each day And I know no matter where life takes me to A part of me will always be... A part of me will always be with you.
Sorry, wrong attachment I made the same goof Scott did. s/1.3+/yes/ -- ------------------------------------------------------------------------ Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF I never had a dream come true 'Til the day that I found you. Even though I pretend that I've moved on You'll always be my baby. I never found the words to say You're the one I think about each day And I know no matter where life takes me to A part of me will always be... A part of me will always be with you.
State Changed From-To: feedback->open Feedback received.
Responsible Changed From-To: freebsd-ports-bugs->gabor Take.
gabor 2006-12-22 13:49:39 UTC FreeBSD ports repository Modified files: www/p5-Apache-DBI Makefile Log: - Fix dependencies - Bump PORTREVISION PR: ports/103813 Submitted by: Scot Hetzel <swhetzel@gmail.com> (with fixes from maintainer) Approved by: erwin (mentor), Philip M. Gollucci <pgollucci@p6m7g8.com> (maintainer) Revision Changes Path 1.24 +6 -4 ports/www/p5-Apache-DBI/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks.