Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2010 23:10:16 GMT
From:      Matthew Ekstrand-Abueg <mattea@rescomp.berkeley.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/149372: Fix devel/p5-Log-Dispatch mod_perl2 dependency
Message-ID:  <201008062310.o76NAGhl085353@dot.housing.berkeley.edu>
Resent-Message-ID: <201008062330.o76NU2pc021039@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008062310.o76NAGhl085353>