Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 17:43:03 +0200
From:      "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/89150: [MAINTAINER] mail/dspam: fix RUN_DEPENDS for WITH_CGI=on by USE_APACHE=1.3+
Message-ID:  <1132155783.0@it.buh.cameradicommercio.ro>
Resent-Message-ID: <200511161550.jAGFoILN094651@freefall.freebsd.org>

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

>Number:         89150
>Category:       ports
>Synopsis:       [MAINTAINER] mail/dspam: fix RUN_DEPENDS for WITH_CGI=on by USE_APACHE=1.3+
>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:   Wed Nov 16 15:50:18 GMT 2005
>Closed-Date:
>Last-Modified:
>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.

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:


--- Makefile.diff begins here ---
--- Makefile.orig	Wed Nov 16 17:18:55 2005
+++ Makefile	Wed Nov 16 17:40:48 2005
@@ -12,7 +12,7 @@
 
 PORTNAME=	dspam
 PORTVERSION=	${PORTVER_MAJ}${SNAP_DATE}
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/
 
@@ -414,8 +414,8 @@
 .endif
 
 .if defined(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
--- Makefile.diff ends here ---



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



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