ports/133683: [PATCH] www/mod_clamav: apache@ cleanups

Philip M. Gollucci pgollucci at FreeBSD.org
Mon Apr 13 03:10:02 UTC 2009


>Number:         133683
>Category:       ports
>Synopsis:       [PATCH] www/mod_clamav: apache@ cleanups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 13 03:10:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 7.1-RELEASE-p3 amd64
>Organization:
RideCharge Inc.
>Environment:
System: FreeBSD mail.bluecottontech.com 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Tue Mar 10 22:10:18 UTC 2009
>Description:
- 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

Port maintainer (tmueko at kommunity.net) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mod_clamav-0.22_4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_clamav/Makefile,v
retrieving revision 1.17
diff -u -u -r1.17 Makefile
--- Makefile	27 Mar 2009 11:53:07 -0000	1.17
+++ Makefile	13 Apr 2009 03:03:47 -0000
@@ -17,15 +17,8 @@
 
 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 @@
 LIB_DEPENDS+=	clamav.6:${PORTSDIR}/security/clamav
 .endif
 
-CONFIGURE_ARGS=	--with-apxs=${PREFIX}/sbin/apxs \
+CONFIGURE_ARGS=	--with-apxs=${APXS} \
 		--libdir=${$LOCALBASE}/lib/apache2
 CFLAGS+=	-I${LOCALBASE}/include
 CPPFLAGS+=	-I${LOCALBASE}/include \
@@ -45,4 +38,5 @@
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+
+.include <bsd.port.mk>
--- mod_clamav-0.22_4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list