change wish invocation line back; reminded by maintainer
This commit is contained in:
parent
42ab9556d7
commit
162b6cb0c9
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2008/10/21 21:49:46 steven Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2009/01/25 20:47:48 steven Exp $
|
||||
|
||||
COMMENT = learn Tcl interactively
|
||||
|
||||
DISTNAME = tcltutor-30b2
|
||||
PKGNAME = ${DISTNAME}p0
|
||||
|
||||
CATEGORIES = lang lang/tcl
|
||||
|
||||
@ -35,7 +36,10 @@ TT_LSN_DIR = ${PREFIX}/share/doc/tcltutor
|
||||
SUBST_VARS = TT_LIB_DIR TT_LSN_DIR
|
||||
|
||||
do-configure:
|
||||
@${SUBST_CMD} ${WRKSRC}/TclTutor.tcl
|
||||
${SUBST_CMD} ${WRKSRC}/TclTutor.tcl
|
||||
perl -pi \
|
||||
-e ';$$. == 3 && s!exec wish.*$$!exec wish${MODTK_VERSION} "\$$0" \$${1+"\$$@"}!' \
|
||||
${WRKSRC}/TclTutor.tcl
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/TclTutor.tcl ${PREFIX}/bin/tcltutor
|
||||
|
@ -1,12 +1,11 @@
|
||||
$OpenBSD: patch-TclTutor_tcl,v 1.2 2008/10/21 21:49:46 steven Exp $
|
||||
$OpenBSD: patch-TclTutor_tcl,v 1.3 2009/01/25 20:47:48 steven Exp $
|
||||
--- TclTutor.tcl.orig Sat Aug 2 05:04:40 2008
|
||||
+++ TclTutor.tcl Tue Oct 21 23:46:14 2008
|
||||
+++ TclTutor.tcl Sun Jan 25 21:42:14 2009
|
||||
@@ -1,8 +1,8 @@
|
||||
-package provide app-tcltutor 1.0
|
||||
#!/bin/sh
|
||||
# \
|
||||
-exec wish "$0" "$@"
|
||||
+exec ${MODTK_BIN} "$0" "$@"
|
||||
exec wish "$0" "$@"
|
||||
|
||||
+package provide app-tcltutor 1.0
|
||||
package require Tk
|
||||
|
Loading…
Reference in New Issue
Block a user