From tobez@tobez.org  Thu May  1 03:16:37 2003
Return-Path: <tobez@tobez.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 939FE37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 May 2003 03:16:37 -0700 (PDT)
Received: from heechee.tobez.org (port485.ds1-ry.adsl.cybercity.dk [212.242.233.110])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6F94A43F85
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 May 2003 03:16:36 -0700 (PDT)
	(envelope-from tobez@tobez.org)
Received: by heechee.tobez.org (Postfix, from userid 1001)
	id 0599F175CF; Thu,  1 May 2003 12:16:34 +0200 (CEST)
Message-Id: <20030501101634.0599F175CF@heechee.tobez.org>
Date: Thu,  1 May 2003 12:16:34 +0200 (CEST)
From: Anton Berezin <tobez@tobez.org>
Reply-To: Anton Berezin <tobez@tobez.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: dsh@vlink.ru
Subject: Make www/p5-HTML-Mason depend on mod_perl optionally
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 01 03:20:15 PDT 2003
>Closed-Date:    Thu May 15 11:05:07 CEST 2003
>Last-Modified:  Thu May 15 11:05:07 CEST 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: tobez 
State-Changed-When: Thu May 15 11:04:53 CEST 2003 
State-Changed-Why:  
Committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=51653 
>Unformatted:
