hi, i have needed to install p5-Log-Dispatch with apache22 and it was looking dependencies wrong. it was looking for ${LOCALBASE}/libexec/apache2/mod_perl.so instead of ${LOCALBASE}/libexec/apache22/mod_perl.so Fix: i have introduced a new variable with the apache2 version .if defined(WITH_APACHELOG) .if defined(WITH_APACHE2) -RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2 +.if defined(APACHE2_VERSION) +RUN_DEPENDS+= ${LOCALBASE}/libexec/apache${APACHE2_VERSION}/mod_perl.so:${PORTSDIR}/www/mod_perl2 +.else +RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2 +.endif .else RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl .endif--KtIvDG251n3XG9Qf2H5sNCsEn4eSxVLURrqf3bnPorlRIgG7 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.orig 2009-04-17 11:03:42.000000000 +0300 +++ Makefile 2009-04-17 11:02:28.000000000 +0300 @@ -54,7 +54,11 @@
Responsible Changed From-To: freebsd-ports-bugs->mat Fix synopsis and assign.
after i have searched on porters handbook i have found that there is another variable wich can help it and wich is used in many ports for dependencies: --- Makefile.orig 2009-04-17 11:03:42.000000000 +0300 +++ Makefile 2009-04-21 10:04:57.000000000 +0300 @@ -54,7 +54,8 @@ .if defined(WITH_APACHELOG) .if defined(WITH_APACHE2) -RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2 +USE_APACHE= 2.0+ +RUN_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_perl.so:${PORTSDIR}/www/mod_perl2 .else RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl .endif -- Octavian
Responsible Changed From-To: mat->perl Maintainer was reset.
State Changed From-To: open->closed Fixed, thanks.
skv 2009-11-05 15:30:13 UTC FreeBSD ports repository Modified files: devel/p5-Log-Dispatch Makefile Log: Fix dependency check clause for mod_perl2. PR: ports/133850 Submitted by: Octavian <itavy xx itavy.com> Revision Changes Path 1.33 +1 -1 ports/devel/p5-Log-Dispatch/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"