From and@asterix.rsu.ru  Fri Apr 18 04:34:19 2003
Return-Path: <and@asterix.rsu.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2455637B405
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Apr 2003 04:34:19 -0700 (PDT)
Received: from asterix.rsu.ru (asterix.rsu.ru [195.208.245.250])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 06CE443FBD
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Apr 2003 04:34:16 -0700 (PDT)
	(envelope-from and@asterix.rsu.ru)
Received: from asterix.rsu.ru (localhost [127.0.0.1])
	by asterix.rsu.ru (8.12.6p2/8.12.6) with ESMTP id h3IBYBg5037306;
	Fri, 18 Apr 2003 15:34:11 +0400 (MSD)
	(envelope-from and@asterix.rsu.ru)
Received: (from root@localhost)
	by asterix.rsu.ru (8.12.6p2/8.12.6/Submit) id h3IBY902037305;
	Fri, 18 Apr 2003 15:34:09 +0400 (MSD)
	(envelope-from and)
Message-Id: <200304181134.h3IBY902037305@asterix.rsu.ru>
Date: Fri, 18 Apr 2003 15:34:09 +0400 (MSD)
From: Andrey Beresovsky <and@rsu.ru>
Reply-To: Andrey Beresovsky <and@rsu.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: anton@chelcom.ru, os@rsu.ru
Subject: It is not possible to build security/drweb-sendmail with sendmail from ports
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         51128
>Category:       ports
>Synopsis:       It is not possible to build security/drweb-sendmail with sendmail from ports
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 18 04:40:08 PDT 2003
>Closed-Date:    Sun Mar 28 06:17:26 PST 2004
>Last-Modified:  Sun Mar 28 06:17:26 PST 2004
>Originator:     Andrey Beresovsky
>Release:        FreeBSD 4.7-RELEASE-p7 i386
>Organization:
>Environment:
System: 4.7-RELEASE-p7


	
>Description:
The current security/drweb-sendmail port does not build with sendmail from ports 
due to missing incdir and libdir. Attached patch should solve this problem.

>How-To-Repeat:
	
>Fix:

The following patch should be applied to Makefile:

--- Makefile    21 Feb 2003 13:26:43 -0000      1.58
+++ Makefile    18 Apr 2003 11:13:06 -0000
@@ -23,6 +23,8 @@

 .if !exists( /usr/include/libmilter/mfapi.h )
 BUILD_DEPENDS+=        ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
+CFLAGS+=       -I${LOCALBASE}/include
+MAKE_ARGS+=    MLTADD_FreeBSD=-L${LOCALBASE}/lib
 .endif

 .if !defined(WITH_DRWEBSMF_HOSTNAME)
>Release-Note:
>Audit-Trail:

From: Andrey Beresovsky <and@rsu.ru>
To: freebsd-gnats-submit@FreeBSD.org
Cc: Oleg Sharoiko <os@rsu.ru>, anton@chelcom.ru
Subject: Re: ports/51128: It is not possible to build security/drweb-sendmail
 with sendmail from ports
Date: Sat, 6 Dec 2003 19:10:29 +0300 (MSK)

 New version of patch:
 --- Makefile.orig	Sat Dec  6 18:34:53 2003
 +++ Makefile	Sat Dec  6 18:53:39 2003
 @@ -24,6 +24,8 @@
 
  .if !exists( /usr/include/libmilter/mfapi.h )
  BUILD_DEPENDS+=	${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
 +MAKE_ARGS+=	ADDLIB_FreeBSD=-L${LOCALBASE}/lib
 +MAKE_ARGS+=	"ADDF_FreeBSD=-Iaddons/md5 -I${LOCALBASE}/include"
  .endif
 
  .if !defined(WITH_DRWEBSMF_HOSTNAME)
 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sat Mar 13 17:31:42 PST 2004 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=51128 

Note to port maintainer: do you approve this patch?
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Sun Mar 28 06:17:19 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=51128 
>Unformatted:
