diff options
author | mm <mm@FreeBSD.org> | 2009-02-02 19:44:26 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2009-02-02 19:44:26 +0800 |
commit | c113309ec93e3d7d095088e4c00f9c6e750b282f (patch) | |
tree | d2aa9f4ade8ce6d8250d9f9caa5806318ab13b63 /games/scid/files | |
parent | 7656ead3726747df79d8d2874185e6ed4d370bf4 (diff) | |
download | freebsd-ports-gnome-c113309ec93e3d7d095088e4c00f9c6e750b282f.tar.gz freebsd-ports-gnome-c113309ec93e3d7d095088e4c00f9c6e750b282f.tar.zst freebsd-ports-gnome-c113309ec93e3d7d095088e4c00f9c6e750b282f.zip |
- switch to USE_TCL infrastructure
- add support for Tcl/Tk 84 and 85 w + w/o threads
- prepare for introduction of tcl86
PR: ports/131008
Approved by: Friedrich K. Volkmann <bsd@volki.at> (maintainer)
Diffstat (limited to 'games/scid/files')
-rw-r--r-- | games/scid/files/patch-Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/games/scid/files/patch-Makefile b/games/scid/files/patch-Makefile index fee7a95f6855..d141549d3334 100644 --- a/games/scid/files/patch-Makefile +++ b/games/scid/files/patch-Makefile @@ -1,6 +1,6 @@ --- Makefile.orig 2008-10-10 10:59:55.000000000 +0200 -+++ Makefile 2008-12-26 15:09:52.000000000 +0100 -@@ -9,11 +9,11 @@ ++++ Makefile 2009-01-26 12:27:47.000000000 +0100 +@@ -9,16 +9,16 @@ # BINDIR: where the Scid programs are copied for "make install". # @@ -14,6 +14,12 @@ ### TCL_VERSION: Set this according to the version of Tcl/Tk you have # installed that you want Scid to use: 8.0, 8.1, 8.2, 8.3, etc. + # +-TCL_VERSION = 8.5 ++TCL_VERSION = ${TCL_VER} + + # TCL_INCLUDE, TCL_LIBRARY, TK_LIBRARY: these are the compiler options + # needed for linking Scid with Tcl/Tk. The program "./configure" @@ -27,9 +27,9 @@ # # The settings determined by "./configure" are: @@ -31,9 +37,9 @@ # TCL_INCLUDE = -I /usr/local/include/tcl8.0 -I /usr/local/include/tk8.0 # TCL_LIBRARY = -L /usr/local/lib -ltcl80 -ldl # TK_LIBRARY = $(TCL_LIBRARY) -ltk80 -L /usr/X11/lib -lX11 -+TCL_INCLUDE = -I${LOCALBASE}/include/tcl8.5 -I${LOCALBASE}/include/tk8.5 -I${LOCALBASE}/include -+TCL_LIBRARY = -L${LOCALBASE}/lib -ltcl85 -+TK_LIBRARY = $(TCL_LIBRARY) -ltk85 -L${LOCALBASE}/lib -lX11 ++TCL_INCLUDE = -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/include ++TCL_LIBRARY = -L${LOCALBASE}/lib -ltcl${TCL_LIBVER}${TCL_THREADS_SUFFIX} ${PTHREAD_LIBS} ++TK_LIBRARY = $(TCL_LIBRARY) -ltk${TCL_LIBVER}${TCL_THREADS_SUFFIX} -L${LOCALBASE}/lib -lX11 ${PTHREAD_LIBS} ######################################## |