From itetcu@people.tecnik93.com  Wed Nov 16 16:02:27 2005
Return-Path: <itetcu@people.tecnik93.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A312516A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Nov 2005 16:02:27 +0000 (GMT)
	(envelope-from itetcu@people.tecnik93.com)
Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70])
	by mx1.FreeBSD.org (Postfix) with SMTP id 94C7443D45
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Nov 2005 16:02:26 +0000 (GMT)
	(envelope-from itetcu@people.tecnik93.com)
Received: (qmail 23596 invoked from network); 16 Nov 2005 16:02:17 -0000
Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130)
  by smtp1-133.rdsnet.ro with SMTP; 16 Nov 2005 16:02:17 -0000
Received: (qmail 1512 invoked by uid 89); 16 Nov 2005 16:02:17 -0000
Received: from unknown (HELO buh.cameradicommercio.ro) (82.76.1.117)
  by 0 with SMTP; 16 Nov 2005 16:02:17 -0000
Received: from buh.cameradicommercio.ro (localhost [127.0.0.1])
	by buh.cameradicommercio.ro (Postfix) with ESMTP id B00386214
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Nov 2005 18:02:27 +0200 (EET)
Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10])
	by buh.cameradicommercio.ro (Postfix) with ESMTP
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Nov 2005 18:02:27 +0200 (EET)
Received: from it.buh.cameradicommercio.ro (localhost.buh.tecnik93.com [127.0.0.1])
	by it.buh.cameradicommercio.ro (Postfix) with ESMTP id F188726
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Nov 2005 18:02:17 +0200 (EET)
Message-Id: <1132156938.0@it.buh.cameradicommercio.ro>
Date: Wed, 16 Nov 2005 18:02:18 +0200
From: "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [MAINTAINER] mail/dspam-devel: fix RUN_DEPENDS for WITH_CGI=on by USE_APACHE=1.3+
X-Send-Pr-Version: gtk-send-pr 0.4.6 
X-GNATS-Notify:

>Number:         89152
>Category:       ports
>Synopsis:       [MAINTAINER] mail/dspam-devel: fix RUN_DEPENDS for WITH_CGI=on by USE_APACHE=1.3+
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 16 16:10:16 GMT 2005
>Closed-Date:    Thu Nov 17 14:47:11 GMT 2005
>Last-Modified:  Thu Nov 17 14:47:11 GMT 2005
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.0-STABLE #7: Mon Nov  7 14:40:46 EET 2005



>Description:


Because of the new bsd.apache.mk, if WITH_CGI is defined the RUN_DEPENDS contains /usr/ports
beacuse, if USE_APACHE is not set, APACHE_PORT is not set. Since WIHT_CGI is not set by dafault,
this is not chatched by a normal build / index build.

Fix this with:	USE_APACHE=	1.3+
			Bump PORTREVISION.
No need to update if alrteady installed.

Pointyhats:
- for sure: me - for thinking, for 7 days, it's a local problem on my devel box.
- perhaps: clement@ for not grep'ing the ports for old apache vars and 
either fix them or send emails to maintainers.


>How-To-Repeat:





>Fix:


--- dspam-devel-3.6.1_to_3.6.1_1.diff begins here ---
--- Makefile.orig	Wed Nov 16 17:43:16 2005
+++ Makefile	Wed Nov 16 18:00:10 2005
@@ -12,6 +12,7 @@
 
 PORTNAME=	dspam-devel
 PORTVERSION=	${PORTVER_MAJ}${SNAP_DATE}
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/
 
@@ -39,6 +40,8 @@
 FETCH_BEFORE_ARGS=	-v -o ${DISTDIR}/${PORTNAME}-${PORTVERSION}.tar.gz
 .endif
 
+_UPD_LINE_NO=	31
+
 ## debug / log / admin options
 OPTIONS=	DEBUG "Enable debugging logging" on
 OPTIONS+=	VERBOSE_DEBUG "Enable debug in LOGDIR/dspam.debug" off
@@ -106,8 +109,6 @@
 
 PKGMESSAGE=	 ${WRKSRC}/src/README.FreeBSD
 
-_UPD_LINE_NO=	23
-
 CONFLICTS=	dspam-[0-9]*
 
 SIGNATURE_LIFE?=	15
@@ -393,8 +394,8 @@
 .endif
 
 .ifdef(WITH_CGI)
+USE_APACHE=	1.3+
 LIB_DEPENDS+=	gd.4:${PORTSDIR}/graphics/gd
-RUN_DEPENDS+=	${LOCALBASE}/sbin/apachectl:${PORTSDIR}/${APACHE_PORT}
 RUN_DEPENDS+=	${SITE_PERL}/mach/GD.pm:${PORTSDIR}/graphics/p5-GD
 RUN_DEPENDS+=	${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph
 RUN_DEPENDS+=	${SITE_PERL}/GD/Graph3d.pm:${PORTSDIR}/graphics/p5-GD-Graph3d
--- files/UPDATING.orig	Wed Nov 16 17:58:46 2005
+++ files/UPDATING	Wed Nov 16 17:59:13 2005
@@ -13,6 +13,14 @@
 make extract;  more `find . -type f -maxdepth 2 -name UPGRADING`
 
 ###########################################################################
+# dspam-devel-3.6.1_1
+#
+
+fix RUN_DEPENDS for WITH_CGI=on by USE_APACHE=1.3+, no need to upgrade if
+already installed
+
+
+###########################################################################
 # dspam-devel-3.6.1
 #
 
--- dspam-devel-3.6.1_to_3.6.1_1.diff ends here ---



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Thu Nov 17 14:46:42 GMT 2005 
State-Changed-Why:  
Committed, without the portrevision raise. 

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