[Mimedefang] FreeBSD port

Andrey V. Pevnev andrey at mgul.ac.ru
Mon May 27 19:40:28 EDT 2002


Hello Graham,

Monday, May 27, 2002, 8:03:06 PM, you wrote:
>> But if you REALLY need to build the port with sendmail installed from
>> ports, I'll fix the port to support it.
GD> That would be excellent.

Ok, try this patch for Makefile:

diff -ruN mimedefang.bak/Makefile mimedefang/Makefile
--- mimedefang.bak/Makefile     Tue May 28 03:13:32 2002
+++ mimedefang/Makefile Tue May 28 03:25:59 2002
@@ -29,7 +29,7 @@
 MAN8=  mimedefang.8 mimedefang.pl.8 mimedefang-multiplexor.8
 
 .if !exists( /usr/include/libmilter/mfapi.h )
-IGNORE=        "requires libmilter installed in the base system, upgrade your FreeBSD"
+BUILD_DEPENDS+=        ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
 .endif
 
 post-install:

 
configure will detect includes and libraries under /usr/local/
Thanks for your feedback!

-- 
Best regards,
MSFU LAN Admin
 Andrey                            mailto:andrey at mgul.ac.ru
 http://www.mgul.ac.ru/~andrey




More information about the MIMEDefang mailing list