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

Alexey Dokuchaev danfe at FreeBSD.org
Fri Dec 3 09:38:51 UTC 2010


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>

./danfe


More information about the cvs-ports mailing list