On a machine with Apache 2.2, I try to install www/mod_perl2. mod_perl2 has USE_APACHE=2.0+: [/usr/ports/www/mod_perl2] root@ports>make all-depends-list /usr/ports/lang/perl5.8 /usr/ports/www/apache22 /usr/ports/lang/python And then to install www/p5-Apache-DBI with mod_perl2. p5-Apache-DBI has USE_APACHE=yes: [/usr/ports/www/p5-Apache-DBI] root@ports>WITH_MODPERL2=yes make -V USE_APACHE yes [/usr/ports/www/p5-Apache-DBI] root@ports>WITH_MODPERL2=yes make all-depends-list /usr/ports/lang/perl5.8 /usr/ports/www/apache20 Changing USE_APACHE=yes to USE_APACHE=1.3+, it depends on: [/usr/ports/www/p5-Apache-DBI] root@ports>WITH_MODPERL2=yes make -V USE_APACHE 1.3+ [/usr/ports/www/p5-Apache-DBI] root@ports>WITH_MODPERL2=yes make all-depends-list /usr/ports/lang/perl5.8 /usr/ports/www/apache22 Fix: In bsd.port.mk, replace: APACHE_PORT?= www/apache20 with something in the line of: FOO!= httpd -v | awk -F/ '{ print $2 }' | awk -F. '{ print $1$2 }' | head -1 USE_APACHE!= www/apache${FOO}
Responsible Changed From-To: freebsd-ports-bugs->clement bsd.apache.mk is clement territory
please CC on this (I'm maintainer of www/mod_perl2 and www/p5-Apache-DBI) Also, remember to account for when httpd is not yet installed aka a reasonable default. -- ------------------------------------------------------------------------ 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 Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.
I think I disagree I have www/apache22 installed. I do not have APACHE_PORT set in /etc/make.conf or in ENV. /usr/ports/www/p5-Apache-DBI> make all-depends-list WITH_MODPERL2=yes /usr/ports/lang/perl5.8 /usr/ports/databases/p5-DBI /usr/ports/www/mod_perl2 /usr/ports/www/apache22 /usr/ports/devel/p5-Storable /usr/ports/devel/p5-BSD-Resource /usr/ports/lang/python /usr/ports/devel/autoconf261 /usr/ports/devel/libtool15 /usr/ports/textproc/expat2 /usr/ports/devel/apr /usr/ports/devel/pcre /usr/ports/converters/libiconv /usr/ports/databases/mysql51-client /usr/ports/lang/python25 /usr/ports/devel/m4 /usr/ports/misc/help2man /usr/ports/devel/gmake /usr/ports/devel/autoconf-wrapper /usr/ports/devel/automake19 /usr/ports/devel/p5-Locale-gettext /usr/ports/devel/gettext /usr/ports/devel/automake-wrapper I might have inadvertantly fixed in the last www/p5-Apache-DBI update. I think this can be closed, if not, should mark it suspend pending the bsd.apacheNG.mk -- ------------------------------------------------------------------------ Philip M. Gollucci (philip@ridecharge.com) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.
Responsible Changed From-To: clement->apache apache team
State Changed From-To: open->feedback Edwin, I may have accidentally worked around this when I split www/p5-ApacheDBI into -mp1 and -mp2, can you please try again ?
State Changed From-To: feedback->closed Fixed with the -mp1, -mp2 split of this port