From owner-freebsd-ports@freebsd.org Fri Jun 9 12:07:40 2017 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 3F515BF3639 for ; Fri, 9 Jun 2017 12:07:40 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (unknown [IPv6:2001:980:66e8:1:20e:cff:fe3d:e16d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "yokozuna.lan", Issuer "yokozuna.lan" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D769164F46; Fri, 9 Jun 2017 12:07:39 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna (yokozuna [IPv6:0:0:0:0:0:0:0:1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id v59C7btM050468 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 9 Jun 2017 14:07:37 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Fri, 9 Jun 2017 14:07:37 +0200 (CEST) From: Marco Beishuizen Sender: marco@yokozuna.lan Reply-To: Marco Beishuizen To: Kubilay Kocak cc: freebsd-ports@freebsd.org Subject: Re: mail/alpine new Makefile In-Reply-To: <44822de4-f2f8-d71b-e58a-e15860519563@FreeBSD.org> Message-ID: References: <7b39bcd3-ee60-4ef9-ff4b-fdb35b3fad73@FreeBSD.org> <44822de4-f2f8-d71b-e58a-e15860519563@FreeBSD.org> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2017 12:07:40 -0000 On Fri, 9 Jun 2017, the wise Kubilay Kocak wrote: > I think I had a brainfail, and I believe it is in-fact fine to use both > (if necessary) and the wording of the handbook might need to be tweaked > not to imply it. > > That aside, I can't see use (testing) of PORT_OPTIONS:M or other > variables that pre/post.mk inclusion is needed for, so neither > bsd.port.options nor bsd.{pre,post}.mk appears to be necessary. > > That wouldn't seem to be the issue (though I could be wrong). > > Q: Does enabling/disabling OPTIONS change/add/remove CONFIGURE_ARGS for > example? (make -V CONFIGURE_ARGS) Yes looks fine: root@yokozuna:/poudriere/ports/local/mail/alpine # make -V CONFIGURE_ARGS --with-debug-level=2 --enable-background-post --without-krb5 --without-tcl --with-system-pinerc=/usr/local/etc/alpine.conf --with-system-fixed-pinerc=/usr/local/etc/alpine.conf.fixed --with-password-prog=/usr/bin/passwd --with-system-mail-directory=/var/mail --with-interactive-spellcheck --with-interactive-spellcheck=/usr/local/bin/aspell --with-ipv6 --with-ldap --with-ldap-dir=/usr/local --enable-mouse --enable-nls --with-simple-spellcheck --with-passfile --with-passfile=.alpine-passfile --with-pthread --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} > Q: Is the make config dialog presenting OPTIONS correctly? Yes > Q: Once OPTIONS are saved, does /var/db/ports/category_portname/options > accurately reflect the state changes? Yes > Q: Does make -V PORT_OPTIONS show/contain enabled options? Yes -- Gone With The Wind LITE(tm) -- by Margaret Mitchell A woman only likes men she can't have and the South gets trashed. Gift of the Magii LITE(tm) -- by O. Henry A husband and wife forget to register their gift preferences. The Old Man and the Sea LITE(tm) -- by Ernest Hemingway An old man goes fishing, but doesn't have much luck. Diary of a Young Girl LITE(tm) -- by Anne Frank A young girl hides in an attic but is discovered.