cvs commit: ports/devel/gdb66 Makefile ports/devel/gdb66/files itcl33-patch

Pav Lucistnik pav at FreeBSD.org
Fri Dec 3 10:47:00 UTC 2010


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 at oook.cz>
               <pav at FreeBSD.org>


More information about the cvs-ports mailing list