From a920fdf4a97c8a61e08bcdd2f4879f8096501629 Mon Sep 17 00:00:00 2001 From: pav Date: Thu, 17 Nov 2005 14:46:54 +0000 Subject: - Fix WITH_CGI (convert to new USE_APACHE) PR: ports/89152 Submitted by: Ion-Mihai "IOnut" Tetcu (maintainer) --- mail/dspam-devel/Makefile | 6 +++--- mail/dspam-devel/files/UPDATING | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'mail') diff --git a/mail/dspam-devel/Makefile b/mail/dspam-devel/Makefile index 08d6c40..3464f1a 100644 --- a/mail/dspam-devel/Makefile +++ b/mail/dspam-devel/Makefile @@ -39,6 +39,8 @@ DISTFILES= snapshot-devel.tar.gz 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 +108,6 @@ STRIP= PKGMESSAGE= ${WRKSRC}/src/README.FreeBSD -_UPD_LINE_NO= 23 - CONFLICTS= dspam-[0-9]* SIGNATURE_LIFE?= 15 @@ -393,8 +393,8 @@ CONFIGURE_ARGS+= --with-dspam-mode=${DSPAM_MODE} .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 diff --git a/mail/dspam-devel/files/UPDATING b/mail/dspam-devel/files/UPDATING index 8433e99..beddd19 100644 --- a/mail/dspam-devel/files/UPDATING +++ b/mail/dspam-devel/files/UPDATING @@ -13,6 +13,14 @@ in the port directory: 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 # -- cgit v1.1