- WITH_APACHE2 is deprecated and was never needed
- Remove version check USE_APACHE=2.0 takes care of it - Use some bsd.apache.mk vars - PREFIX->LOCALBASE PR: ports/133683 Approved by: maintainer timeout (2 weeks) Submitted by: me
This commit is contained in:
parent
e8a85803a2
commit
1435495e70
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232933
1 changed files with 3 additions and 9 deletions
|
@ -17,15 +17,8 @@ COMMENT= Scans content delivered by the Apache20 proxy module for viruses
|
|||
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
USE_APACHE= 2.0
|
||||
WITH_APACHE2= YES
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${LOCALBASE}/include/apache22/http_core.h) || exists(${LOCALBASE}/include/apache/http_core.h)
|
||||
IGNORE= mod_clamav only compile and run with apache-2.0.x
|
||||
.endif
|
||||
|
||||
.if defined(WITH_CLAMAVDEVEL)
|
||||
LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav-devel
|
||||
.else
|
||||
|
@ -33,7 +26,7 @@ CLAMAV_PORT= security/clamav
|
|||
LIB_DEPENDS+= clamav.6:${PORTSDIR}/security/clamav
|
||||
.endif
|
||||
|
||||
CONFIGURE_ARGS= --with-apxs=${PREFIX}/sbin/apxs \
|
||||
CONFIGURE_ARGS= --with-apxs=${APXS} \
|
||||
--libdir=${PREFIX}/lib/apache2
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CPPFLAGS+= -I${LOCALBASE}/include \
|
||||
|
@ -45,4 +38,5 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
|
|||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue