Bug 108842 - [patch] mimedefang and sendmail from ports
Summary: [patch] mimedefang and 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: Wes Peters
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-06 17:10 UTC by nkoch
Modified: 2007-02-14 15:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nkoch 2007-02-06 17:10:47 UTC
I am running /usr/local/sbin/sendmail from ports.
When I try to install mail/mimedefang I find it to insist in using
/usr/include/libmilter instead of /usr/local/include/libmilter,
making mimedefang fail during milter initialization.

Fix: I suggest the following patch:



+.if exists( /usr/local/include/libmilter/mfapi.h )
+CONFIGURE_ARGS+= --with-milterinc=${LOCALBASE}/include
+CONFIGURE_ARGS+= --with-milterlib=${LOCALBASE}/lib
+.endif
+
 .if ${PERL_LEVEL} < 500601
 IGNORE=                requires perl 5.6.1 or later. Install lang/perl5 or lang/perl5.8 then try again
 .endif--1nfnX06oMdcdtE6amIphQewl3BSf4vZ0MAJPTDGbVZMPOOBF
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.old        Sun Feb  4 10:53:17 2007
+++ Makefile    Tue Feb  6 17:54:37 2007
@@ -49,6 +49,11 @@
 BUILD_DEPENDS+=        ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
 .endif
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2007-02-06 17:38:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wes

Over to mimedefang port maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-02-12 18:24:51 UTC
wes         2007-02-12 18:24:45 UTC

  FreeBSD ports repository

  Modified files:
    mail/mimedefang      Makefile 
  Log:
  Use libmilter from ports (/usr/local/...) if it exists, assuming
  the user intends to use the sendmail from ports.
  
  PR:             ports/108842
  Submitted by:   Norbert Koch <nkoch@demig.de>
  
  Revision  Changes    Path
  1.57      +5 -0      ports/mail/mimedefang/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Wes Peters freebsd_committer freebsd_triage 2007-02-12 18:39:26 UTC
State Changed
From-To: open->feedback

Patch applied, please verify this fixes your problem.
Comment 4 nkoch 2007-02-13 14:59:44 UTC
That works for me.
Thank you.
Comment 5 Wes Peters freebsd_committer freebsd_triage 2007-02-14 15:06:58 UTC
State Changed
From-To: feedback->closed

Closed per submitter.  Thanks for the feedback, Norbert.