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

Pav Lucistnik pav at FreeBSD.org
Fri Dec 3 08:32:53 UTC 2010


On 2010/12/03 05:43, Mikhail Teterin wrote:

>    Make this work with what TCL/TK are installed in case, Insight is
>    requested. This required an explicit inclusion of bsd.tcl.mk -- because
>    options-parsing occurs in bsd.ports.pre.mk, and it is too late to
>    set USE_TK after that. Don't know a better way around :(

OPTIONS= [..]

.include <bsd.port.options.mk>

.if (WITH_FOO)
USE_TK= [..]
.endif

.include <bsd.port.pre.mk>

do-[..]

.include <bsd.port.post.mk>

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


More information about the cvs-all mailing list