Skip site navigation (1)Skip section navigation (2)
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:   ports/89152: [MAINTAINER] mail/dspam-devel: fix RUN_DEPENDS for WITH_CGI=on by USE_APACHE=1.3+
Message-ID:  <1132156938.0@it.buh.cameradicommercio.ro>
Resent-Message-ID: <200511161610.jAGGAGCC000783@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 16 16:10:16 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.
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:
>Unformatted:



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