aboutsummaryrefslogtreecommitdiff
path: root/emulators/frodo
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/frodo')
-rw-r--r--emulators/frodo/Makefile4
-rw-r--r--emulators/frodo/files/patch-TkGui.tcl2
2 files changed, 4 insertions, 2 deletions
diff --git a/emulators/frodo/Makefile b/emulators/frodo/Makefile
index 5c1263b50905..8b034744bbfe 100644
--- a/emulators/frodo/Makefile
+++ b/emulators/frodo/Makefile
@@ -23,7 +23,9 @@ WRKSRC= ${WRKDIR}/Frodo/Src
ROM= 1541 Basic Char Kernal
post-patch:
- @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKDIR}/Frodo/TkGui.tcl
+ @${MV} ${WRKDIR}/Frodo/TkGui.tcl ${WRKDIR}/Frodo/TkGui.tcl.sed
+ ${SED} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
+ ${WRKDIR}/Frodo/TkGui.tcl.sed > ${WRKDIR}/Frodo/TkGui.tcl
do-configure:
@(cd ${WRKSRC}; ${SH} ./configure)
diff --git a/emulators/frodo/files/patch-TkGui.tcl b/emulators/frodo/files/patch-TkGui.tcl
index 5aae3b731caf..fcefa38ad682 100644
--- a/emulators/frodo/files/patch-TkGui.tcl
+++ b/emulators/frodo/files/patch-TkGui.tcl
@@ -2,7 +2,7 @@
+++ ../TkGui.tcl Mon Apr 26 21:49:18 1999
@@ -1,9 +1,9 @@
-#!/usr/local/bin/X11/wish
-+#!%%LOCALBASE%%/bin/wish8.2 -f
++#!%%LOCALBASE%%/bin/wish8.3 -f
# Frodo Tk GUI by Lutz Vieweg <lkv@mania.robin.de>
# requires Tk >= 4.1