Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2005 11:30:40 +0400 (MSD)
From:      Denis Shaposhnikov <dsh@vlink.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/79328: port update: www/p5-HTML-Mason (add optional mod_perl dependency)
Message-ID:  <200503290730.j2T7Ue42074045@neva.vlink.ru>
Resent-Message-ID: <200503290740.j2T7e198078438@freefall.freebsd.org>

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

>Number:         79328
>Category:       ports
>Synopsis:       port update: www/p5-HTML-Mason (add optional mod_perl dependency)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 29 07:40:00 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Denis Shaposhnikov
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD neva.vlink.ru 6.0-CURRENT FreeBSD 6.0-CURRENT #5: Fri Mar 18 16:40:50 MSK 2005 dsh@neva.vlink.ru:/var/FreeBSD/obj/var/FreeBSD/src/sys/NEVA i386


>Description:

Add optional mod_perl dependency. Thanks to Dryice Liu.

>How-To-Repeat:

diff -Nru p5-HTML-Mason.orig/Makefile p5-HTML-Mason/Makefile
--- p5-HTML-Mason.orig/Makefile	Thu Feb 10 13:17:49 2005
+++ p5-HTML-Mason/Makefile	Tue Mar 29 11:21:17 2005
@@ -57,10 +57,16 @@
 		HTML::Mason::Tools.3 \
 		HTML::Mason::Utils.3
 
+OPTIONS=	MOD_PERL "with mod_perl dependency" off
+
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500601
 BUILD_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.if defined(WITH_MOD_PERL)
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Apache/libapreq.pm:${PORTSDIR}/www/p5-libapreq
 .endif
 
 .include <bsd.port.post.mk>

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



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