ports/133850: p5-Log-Dispatch install dependencies
Octavian
itavy at itavy.com
Sun Apr 19 09:30:02 UTC 2009
>Number: 133850
>Category: ports
>Synopsis: p5-Log-Dispatch install dependencies
>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: Sun Apr 19 09:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Octavian
>Release: 7.0
>Organization:
>Environment:
FreeBSD internweb.automeridian.ro 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #1: Tue Sep 2 09:54:43 EEST 2008 itavy at internweb.automeridian.ro:/usr/obj/usr/src/sys/WEBMERIDIAN i386
>Description:
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
>How-To-Repeat:
>Fix:
i have introduced a new variable with the apache2 version
--- Makefile.orig 2009-04-17 11:03:42.000000000 +0300
+++ Makefile 2009-04-17 11:02:28.000000000 +0300
@@ -54,7 +54,11 @@
.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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list