Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Dec 2010 11:46:51 +0100
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        Mikhail Teterin <mi@FreeBSD.org>, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/gdb66 Makefile ports/devel/gdb66/files itcl33-patch
Message-ID:  <4CF8CA9B.5050109@FreeBSD.org>
In-Reply-To: <20101203093851.GA59399@FreeBSD.org>
References:  <201012030443.oB34hNLo042059@repoman.freebsd.org> <4CF8AB2D.8060201@FreeBSD.org> <20101203093851.GA59399@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2010/12/03 10:38, Alexey Dokuchaev wrote:
> On Fri, Dec 03, 2010 at 09:32:45AM +0100, Pav Lucistnik wrote:
>> OPTIONS= [..]
>> .include<bsd.port.options.mk>
>> .if (WITH_FOO)
>> USE_TK= [..]
>> .endif
>>
>> .include<bsd.port.pre.mk>
>> do-[..]
>> .include<bsd.port.post.mk>
>
> I think in most (simple) cases separate includes for .pre/.port parts
> is unnecessary, no?:
>
> OPTIONS= [...]
> .include<bsd.port.options.mk>
> <do stuff>
> .include<bsd.port.mk>

Correct, if you don't need post-premk declarations you can just replace 
pre.mk with options.mk

-- 
Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CF8CA9B.5050109>