Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2010 09:38:51 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Pav Lucistnik <pav@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:  <20101203093851.GA59399@FreeBSD.org>
In-Reply-To: <4CF8AB2D.8060201@FreeBSD.org>
References:  <201012030443.oB34hNLo042059@repoman.freebsd.org> <4CF8AB2D.8060201@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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