From owner-freebsd-ports@freebsd.org Fri Oct 16 19:03:38 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44DD8A162AA for ; Fri, 16 Oct 2015 19:03:38 +0000 (UTC) (envelope-from jlehen@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDBB7107E; Fri, 16 Oct 2015 19:03:37 +0000 (UTC) (envelope-from jlehen@gmail.com) Received: by wicll6 with SMTP id ll6so22718995wic.0; Fri, 16 Oct 2015 12:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Z9JAEmL4t40N9ULmR53qFZiU2v+ulcOFoFAwNeMlu54=; b=xl31stBr5bSMLBcZNtdCbM0aMPzHYJTx5voxC5r0tgidb+oKwxvk+5NccuwJo1baOP qFzN5oNdzBOqRgT3g2kRmpfR5QhVG1Ygxiiuu8ybZXlEvWGKku0PtN5iUErIimY15Cr2 jZqKOcQOw4PQWlUIK4Ig6oTtQKKzNx18x0e2ewwuQuTB3hVKNuNiQFTHqoApi8EZaDik j5zvFl0/ywsF22HtCopefIYsw+Wlo8xHdM1Wd9DIc8C26tnbzMBHCpOqfAyi/awCYUxs LLrac0DY5mgMXQmr6QYkPftuqkQxIMtCHYmqa8egngwxOixvNZe3e4CZhe3y2WRnVaIn aUvw== MIME-Version: 1.0 X-Received: by 10.180.93.2 with SMTP id cq2mr3238800wib.33.1445022216254; Fri, 16 Oct 2015 12:03:36 -0700 (PDT) Sender: jlehen@gmail.com Received: by 10.28.177.9 with HTTP; Fri, 16 Oct 2015 12:03:36 -0700 (PDT) In-Reply-To: <20151016011322.7574d322@b1c1l1.com> References: <20151016011322.7574d322@b1c1l1.com> Date: Fri, 16 Oct 2015 21:03:36 +0200 X-Google-Sender-Auth: 174rYkylOyPdGnn9k0_h1-9vOG0 Message-ID: Subject: Re: postfix options no honored by poudriere From: Jeremie Le Hen To: Benjamin Lee Cc: ohauer@freebsd.org, bapt@freebsd.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2015 19:03:38 -0000 On Fri, Oct 16, 2015 at 10:13 AM, Benjamin Lee wrote: > On Fri, 16 Oct 2015 09:52:33 +0200, Jeremie Le Hen wrote: >> (Please don't reply only to -ports@, as I'm not subscribed to this list.) >> >> Hi Olli, >> >> I recently realized that my postfix port wasn't compiled with the options I set. >> >> After a bit of debugging it seems to be a problem specific to >> mail/postfix. The options I set for this other ports are honored >> correctly. >> >> It seems the options declared in the port are not "seen": >> >> ports# make -V OPTIONS_DEFINE -C mail/postfix >> BDB CDB DOCS INST_BASE LDAP LDAP_SASL LMDB MYSQL NIS PCRE PGSQL SASL >> SPF SQLITE TEST TLS VDA >> >> >> poudriere# cat data/cache/10amd64-default-caravan/postfix-2.11.7,1.txz/1444980973/options >> DOCS PCRE TLS >> >> >> poudriere.d# egrep '^(OPTIONS|postfix)' * >> 10amd64-caravan-make.conf:postfix_SET+= DOVECOT2 >> make.conf:OPTIONS_UNSET= X11 GUI TK >> make.conf:postfix_SET= SPF TLS SQLITE BDB >> >> >> Any idea what's happening? >> Thanks! > > The syntax for specifying port options in make.conf has changed from > using UNIQUENAME to OPTIONS_NAME. You should change "postfix_SET" to > "mail_postfix_SET". To get the relevant name for a port: > > blee@eclipse ~ $ make -C /usr/ports/mail/postfix -V OPTIONS_NAME > mail_postfix That made it! Thanks! > There was a quiet notice in /usr/ports/UPDATING 20150817. Yeah I kind of invariably miss reading it. I should try to think of some way to automate this. -- Jeremie Le Hen jlh@FreeBSD.org