--- a/mail-mta/postfix/postfix-2.11.0.ebuild +++ b/mail-mta/postfix/postfix-2.11.0.ebuild @@ -181,6 +181,11 @@ } src_install () { + if [[ "${CHOST}" == "${CBUILD}" ]] ; then + postconf=bin/postconf + else + postconf=/usr/sbin/postconf + fi local myconf use doc && myconf="readme_directory=\"/usr/share/doc/${PF}/readme\" \ html_directory=\"/usr/share/doc/${PF}/html\"" @@ -194,6 +199,7 @@ mailq_path="/usr/bin/mailq" \ newaliases_path="/usr/bin/newaliases" \ sendmail_path="/usr/sbin/sendmail" \ + postconf="${postconf}" ${myconf} \ || die "postfix-install failed" Requires postfix on CBUILD if CHOST is not CBUILD. Maybe make postfix depend on postfix build time if CBUILD!=CHOST? There is also a patch on postfix itself (will upload in a few minutes) ######## ######## ### ######## ###### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ###### ######## ## ## ## ## ######### ## ## ######### ## ## ## ## ## ## ## ## ## ## ## ## ## ######## ## ## ## ## ###### ## ## ####### ## ## ###### ######## ######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ###### ###### ######## ## ## ## ## ## ## ## ## ## ## ## ## ## ####### ###### ######## ## ## Reproducible: Always
Created attachment 371646 [details, diff] Patch on postfix-install
(In reply to Hristo Venev from comment #0) > ######## ######## ### ######## ###### ## ## Don't do that again.
Bump I will bump EVERY DAY until this bug gets fixed.
BUMP
(In reply to Hristo Venev from comment #4) > BUMP You are not helping your case. Please don't do it again.
Should I update the patch for 2.11.1? How do I set a dependency if CHOST != CBUILD?
bump
epatch_user added to postifx-2.11.1-r1 and postfix-2.12_pre20140801. You can patch postfix to your heart's content. I am not going to support your patch regarding postconf in postfix-install. There is no guarantee that the already installed native postconf command supports the use cases in the newly built postfix-install. It might work if they are "similar enough" but that is not something we can reasonably support. Noone can say what "similar enough" is and its definition will change over time. Closing as WONTFIX.