On 2009/12/22 12:24, Azwaw OUSADOU wrote:
> ++++ amsn     Mon Dec 21 17:14:18 2009
>  @@ -1,6 +1,6 @@
>   #!/bin/sh
>   # \
>  -exec wish $0 $@
> -+exec ${MODTK_BIN} $0 $@
> ++exec /usr/local/bin/wish8.5 $0 $@

this patch should be replaced with ${MODTCL_WISH_ADJ} ${WRKSRC}/amsn in
the pre-configure target

>  $OpenBSD: patch-amsn-remote,v 1.2 2008/08/31 17:16:22 steven Exp $
> ---- amsn-remote.orig Fri Dec  1 14:47:40 2006
> -+++ amsn-remote      Fri Dec  1 14:49:00 2006
> +--- amsn-remote.orig Mon Dec 21 17:14:18 2009
> ++++ amsn-remote      Mon Dec 21 17:14:18 2009
>  @@ -1,4 +1,4 @@
>  -#!/usr/bin/wish
> -+#!${MODTK_BIN}
> ++#!/usr/local/bin/wish8.5
>   ###
>   ### Remote controller program
>   ###
> ---- amsn-remote-CLI.orig     Fri Dec  1 16:20:48 2006
> -+++ amsn-remote-CLI  Fri Dec  1 16:21:25 2006
> +--- amsn-remote-CLI.orig     Mon Dec 21 17:14:18 2009
> ++++ amsn-remote-CLI  Mon Dec 21 17:14:18 2009
>  @@ -1,4 +1,4 @@
>  -#!/usr/bin/tclsh
> -+#!${MODTK_BIN}
> ++#!/usr/local/bin/wish8.5
>   ###
>   ### Remote controller program
>   ###

MODTCL_WISH_ADJ doesn't handle this variant, these diffs needs to stay
as they were - the path/filename for wish shouldn't be hardcoded or it
will break if we update to a newer Tcl/Tk, or if people use a different
LOCALBASE.

> +share/amsn/utils/BWidget-1.9.0/arrow.tcl
> +share/amsn/utils/BWidget-1.9.0/bitmap.tcl
...

it might be helpful to use ports/x11/bwidget for this, but that's
less important than the other fixes.

Reply via email to