ports/89150: [MAINTAINER] mail/dspam: fix RUN_DEPENDS for WITH_CGI=on by USE_APACHE=1.3+

Ion-Mihai IOnut Tetcu itetcu at people.tecnik93.com
Wed Nov 16 15:50:21 UTC 2005


>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:



More information about the freebsd-ports-bugs mailing list