diff options
author | tg <tg@FreeBSD.org> | 2007-03-16 03:33:51 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2007-03-16 03:33:51 +0800 |
commit | 7d471fc3cb956941abd1fc56bd57c304da756199 (patch) | |
tree | 59182729e180691fb3811338a90659b0ca2df90b /games/awele/files | |
parent | 2e261dbc794334b957132bb8e6c7c33f3f5fb19e (diff) | |
download | freebsd-ports-graphics-7d471fc3cb956941abd1fc56bd57c304da756199.tar.gz freebsd-ports-graphics-7d471fc3cb956941abd1fc56bd57c304da756199.tar.zst freebsd-ports-graphics-7d471fc3cb956941abd1fc56bd57c304da756199.zip |
Use Tcl/Tk8.4. Use PLIST_FILES.
PR: 110323
Submitted by: Martin Tournoij <carpetsmoker@xs4all.nl>
Diffstat (limited to 'games/awele/files')
-rw-r--r-- | games/awele/files/patch-aa | 4 | ||||
-rw-r--r-- | games/awele/files/patch-ab | 25 |
2 files changed, 12 insertions, 17 deletions
diff --git a/games/awele/files/patch-aa b/games/awele/files/patch-aa index 873a72ece4b..6547b7154f4 100644 --- a/games/awele/files/patch-aa +++ b/games/awele/files/patch-aa @@ -11,10 +11,10 @@ XCOMM libs, includes XCOMM TK_LIB AND TK_INCLUDE stand for tk and tcl - TK_LIB = -L/usr/local/lib -ltk -ltcl -+ TK_LIB = -L@@LOCALBASE@@/lib -ltk82 -ltcl82 ++ TK_LIB = -L@@LOCALBASE@@/lib -ltk84 -ltcl84 XCOMM TK_LIB = -L/usr/local/lib -ltk4.0 -ltcl7.4 - TK_INCLUDE = -I/usr/local/include -+ TK_INCLUDE = -I@@LOCALBASE@@/include/tcl8.2 -I@@LOCALBASE@@/include/tk8.2 ++ TK_INCLUDE = -I@@LOCALBASE@@/include/tcl8.4 -I@@LOCALBASE@@/include/tk8.4 DEFINES = $(TK_INCLUDE) LOCAL_LIBRARIES = $(TK_LIB) -lX11 -lm XCOMM ANSI-C compiler diff --git a/games/awele/files/patch-ab b/games/awele/files/patch-ab index cfc786f006f..f2050064b31 100644 --- a/games/awele/files/patch-ab +++ b/games/awele/files/patch-ab @@ -1,5 +1,5 @@ --- tkAppInit.c.orig Fri Dec 8 16:35:38 1995 -+++ tkAppInit.c Fri May 1 09:36:18 1998 ++++ tkAppInit.c Thu Mar 15 08:44:13 2007 @@ -9,12 +9,10 @@ * * See the file "license.terms" for information on usage and redistribution @@ -15,15 +15,18 @@ #include "tk.h" extern void create_commands(Tcl_Interp *,Tk_Window); -@@ -27,6 +25,7 @@ +@@ -25,9 +23,7 @@ + * Sun shared libraries to be used for Tcl. + */ - extern int matherr(); - int *tclDummyMathPtr = (int *) matherr; +-extern int matherr(); +-int *tclDummyMathPtr = (int *) matherr; +- + - /* *---------------------------------------------------------------------- -@@ -77,14 +76,13 @@ + * +@@ -77,14 +73,13 @@ Tcl_AppInit(interp) Tcl_Interp *interp; /* Interpreter for application. */ { @@ -39,15 +42,7 @@ /* * Call the init procedures for included packages. Each call should -@@ -103,17 +101,14 @@ - */ - create_commands(interp, main); - link_global_variables(interp, main); -- -+ - /* - * Specify a user-specific startup file to invoke if the application - * is run interactively. Typically the startup file is "~/.apprc" +@@ -110,10 +105,7 @@ * where "app" is the name of the application. If this line is deleted * then no user-specific startup file will be run under any conditions. */ |