ports/149372: Fix devel/p5-Log-Dispatch mod_perl2 dependency
Matthew Ekstrand-Abueg
mattea at rescomp.berkeley.edu
Fri Aug 6 23:30:03 UTC 2010
>Number: 149372
>Category: ports
>Synopsis: Fix devel/p5-Log-Dispatch mod_perl2 dependency
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 06 23:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Matthew Ekstrand-Abueg
>Release: FreeBSD 7.3-RELEASE-p2 amd64
>Organization:
Network and Infrastructure Services, RSSP-IT, UC Berkeley
>Environment:
>Description:
p5-Log-Dispatch currently has a line to depend explicitly on the port
mod_perl2. This port was changed to ap*-mod_perl2, so the dependency check
fails. This should be changed to simply look for the file, so as to be
port-name independent.
>How-To-Repeat:
portupgrade -N www/mod_perl2
portupgrade -N devel/p5-Log-Dispatch
>Fix:
Patch Makefile to reference mod_perl2.pm instead of the mod_perl2 port.
--- Makefile.patch begins here ---
--- p5-Log-Dispatch/Makefile.orig 2010-08-06 22:55:28.000000000 +0000
+++ p5-Log-Dispatch/Makefile 2010-08-06 22:55:38.000000000 +0000
@@ -62,7 +62,7 @@
.if ${APACHE_VERSION} == 13
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
.else
-RUN_DEPENDS+= mod_perl2>=2.0:${PORTSDIR}/www/mod_perl2
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
.endif
.endif
--- Makefile.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list