Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 23:54:20 +0100
From:      "Clement Laforet" <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject:   ports/59531: [bento fix] security/amavisd: Add a workaround to make package on bento
Message-ID:  <20031120225452.0F95543F85@mx1.FreeBSD.org>
Resent-Message-ID: <200311202300.hAKN0W6d018020@freefall.freebsd.org>

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

>Number:         59531
>Category:       ports
>Synopsis:       [bento fix] security/amavisd: Add a workaround to make package on bento
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 20 15:00:32 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Nov 18 23:10:46 CET 2003 clement@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:
	add --enable-all to configure args if PACKAGE_BUILDING or BATCH are defined.
	It gets rid of automatic antivirus programs detection.

>How-To-Repeat:
	http://bento.freebsd.org/errorlogs/i386-5-latest/amavisd-0.1,1.log
>Fix:

	

--- amavisd.diff begins here ---
Index: amavisd/Makefile
===================================================================
RCS file: /WORK/REPO/FreeBSD/ports/security/amavisd/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- amavisd/Makefile	27 Sep 2003 01:01:04 -0000	1.12
+++ amavisd/Makefile	20 Nov 2003 22:50:23 -0000
@@ -54,6 +54,10 @@
 
 CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
 
+.if defined(BATCH) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+=	--enable-all
+.endif
+
 .if defined(WITH_POSTFIX)
 CONFIGURE_ARGS+=	--enable-postfix
 MTA?=		postfix
--- amavisd.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?20031120225452.0F95543F85>