- Fix WITH_CGI (convert to new USE_APACHE)

PR:		ports/89152
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-11-17 14:46:54 +00:00
parent 65fa2f6d32
commit c1a55c468c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148615
2 changed files with 11 additions and 3 deletions

View File

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

View File

@ -12,6 +12,14 @@ also the UPGRADING enclosed in the dspam distribution. You can see it by doing
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
#