Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 May 2003 12:16:34 +0200 (CEST)
From:      Anton Berezin <tobez@tobez.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dsh@vlink.ru
Subject:   ports/51653: Make www/p5-HTML-Mason depend on mod_perl optionally
Message-ID:  <20030501101634.0599F175CF@heechee.tobez.org>
Resent-Message-ID: <200305011020.h41AKFkD089018@freefall.freebsd.org>

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

>Number:         51653
>Category:       ports
>Synopsis:       Make www/p5-HTML-Mason depend on mod_perl optionally
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 01 03:20:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Anton Berezin
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
>Description:

Mason does not really need mod_perl.  It work ok as a normal CGI, or as
a FastCGI or SpeedyCGI application.

>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-HTML-Mason/Makefile,v
retrieving revision 1.33
diff -u -r1.33 Makefile
--- Makefile	31 Mar 2003 07:09:27 -0000	1.33
+++ Makefile	1 May 2003 10:08:36 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	HTML-Mason
 PORTVERSION=	1.19
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	HTML
@@ -16,11 +16,15 @@
 MAINTAINER=	dsh@vlink.ru
 COMMENT=	High-performance, dynamic web site authoring system
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
-		${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
+BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
 		${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
 		${SITE_PERL}/Class/Container.pm:${PORTSDIR}/devel/p5-Class-Container \
 		${SITE_PERL}/Cache/Cache.pm:${PORTSDIR}/devel/p5-Cache-Cache
+
+.if !defined(WITHOUT_MODPERL)
+BUILD_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq
+.endif
+
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
>Release-Note:
>Audit-Trail:
>Unformatted:



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