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 <[email protected]>
              <[email protected]>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to