Bug 185857

Summary: [patch] mail/postfix - quiet warning message on 10+
Product: Ports & Packages Reporter: Adam Weinberger <adamw>
Component: Individual Port(s)Assignee: Sahil Tandon <sahil>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
postfix.patch none

Description Adam Weinberger freebsd_committer freebsd_triage 2014-01-17 23:00:02 UTC
Any operation involving this port on 10+ gives the following message: 

make: "/usr/ports/mail/postfix/Makefile" line 93: warning: Couldn't read shell's output for "/usr/bin/grep -m 1 '^purgestat' /etc/mail/mailer.conf || true"

This message also appears for all the other postfix ports. It's due to the way bmake treats
empty shell command results.

It's pretty easy to fix though: change "true" at the end to "${ECHO_CMD}".

Fix: The attached patch fixes it for mail/postfix, but it'll also apply for all the other
postfix ports.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-17 23:00:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sahil

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Sahil Tandon freebsd_committer freebsd_triage 2014-01-20 18:58:50 UTC
State Changed
From-To: open->analyzed

Thanks I will incorporate this in next update.
Comment 3 Sahil Tandon freebsd_committer freebsd_triage 2014-01-21 01:18:52 UTC
State Changed
From-To: analyzed->closed

Committed. Thanks!