Bug 51128 - It is not possible to build security/drweb-sendmail with sendmail from ports
Summary: It is not possible to build security/drweb-sendmail with sendmail from ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-18 12:40 UTC by and
Modified: 2004-03-28 15:17 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description and 2003-04-18 12:40:08 UTC
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.

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)
Comment 1 and 2003-12-06 16:10:29 UTC
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)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-03-14 01:31:42 UTC
State Changed
From-To: open->feedback



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

Note to port maintainer: do you approve this patch?
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-03-28 15:17:19 UTC
State Changed
From-To: feedback->closed

Committed, thanks!