Bug 165924 - mail/p5-Mail-SpamAssassin: Unconditional dependence of mail/razor-agents
Summary: mail/p5-Mail-SpamAssassin: Unconditional dependence of mail/razor-agents
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: Michael Scheidell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-11 11:10 UTC by Alexey Markov
Modified: 2012-03-18 13:01 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 Alexey Markov 2012-03-11 11:10:10 UTC
After latest changes in mail/p5-Mail-SpamAssassin/Makefile conditions for including mail/razor-agents dependence was missed. Now SpamAssassin depends on mail/razor-agents unconditionally.

Fix: 

-.if defined(WITH_RAZOR)
 RUN_DEPENDS+=  razor-agents>=2.84:${PORTSDIR}/mail/razor-agents
-.endif

 .if defined(WITH_DKIM)
 RUN_DEPENDS+=  ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL--uhCfXdF2htB739fPdbUuaJ8AVyghWtdRGUOKYUgsDgb0BRdJ
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile    2012-03-11 15:00:47.000000000 +0400
+++ Makefile.orig       2012-03-11 15:00:26.000000000 +0400
@@ -104,9 +104,7 @@
 RUN_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
 .endif
How-To-Repeat: Just try to buils p5-Mail-SpamAssassin without RAZOR option.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-03-11 11:11:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Michael Scheidell freebsd_committer freebsd_triage 2012-03-11 18:15:19 UTC
State Changed
From-To: open->closed

Fixed by reverting ports/165605, Thanks for reporting this.
Comment 3 Michael Scheidell freebsd_committer freebsd_triage 2012-03-11 20:18:39 UTC
State Changed
From-To: closed->patched

Leaving this open for users who search PR database before submitting a PR. 
Note: this HAS been fixed, no need for additional PR's on this.
Comment 4 Michael Scheidell freebsd_committer freebsd_triage 2012-03-18 13:01:29 UTC
State Changed
From-To: patched->closed

No further comments. Closed.