How to extract tcl src

Anonymous swell.k at gmail.com
Sun May 23 03:22:49 UTC 2010


jhell <jhell at dataix.net> writes:

> On 05/22/2010 19:23, Anonymous wrote:
>> BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/lang/tcl85:extract
>
> Attached is the Makefile I just edited to configure against tcl and tk
> 8.5 instead of 8.4.

I think using bsd.tcl.mk is better idea, see below

-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.diff
Type: text/x-patch
Size: 1765 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100523/a6d7b7f2/a-0001.bin
-------------- next part --------------

And user can override it with WITH_TCL_VER/WITH_TK_VER or the port will
pick up already installed version. I for one use tk86.

>
> I have verified it for functionality (as in) extract, configure, make &
> install only.
>
> Before I made the mods I did not make a original copy so this is why I
> did not provide a unified diff but I have bumped the the PORTREVISION
> from _1 to _2 and it should be ready to be committed as this was a
> pretty trivial change.

You could have used CVS, i.e.

  $ cvs -d$CVSROOT co togl
  <make changes>
  $ cvs diff -up

>
> The most significant change mentioned above was changed to:
> BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/lang/tcl85:configure

Well, I've tried to update the port myself but I'm yet to figure out how
to reliably determine ${WRKSRC} from lang/tcl${TCL_VER}. It's easy to do
from a slave port but togl is not one.

>
> This was needed to provide configured values that graphics/togl would
> then read.
>
> Regards,


More information about the freebsd-ports mailing list