ports/110429: [PATCH] mbone/imm - Update to TCL/TK 8.4
Martin Tournoij
carpetsmoker at xs4all.nl
Sat Mar 17 08:00:14 UTC 2007
>Number: 110429
>Category: ports
>Synopsis: [PATCH] mbone/imm - Update to TCL/TK 8.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 17 08:00:13 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Martin Tournoij
>Release: FreeBSD 6.2-RELEASE-p1 i386
>Organization:
>Environment:
FreeBSD glitch.carpetsmoker.net 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Thu Feb 15 20:56:16 CET 2007 carpetsmoker at glitch.carpetsmoker.net:/usr/obj/nfs/tinderbox/jails/6.2/src/sys/GENERICri386
>Description:
- Update to TCL/TK 8.4
>How-To-Repeat:
>Fix:
--- patch-imm begins here ---
diff --exclude CVS -urN /usr/ports/mbone/imm/Makefile ./Makefile
--- /usr/ports/mbone/imm/Makefile Mon Aug 23 09:36:54 2004
+++ ./Makefile Sat Mar 17 02:58:38 2007
@@ -7,7 +7,8 @@
PORTNAME= imm
PORTVERSION= 3.5a1
-CATEGORIES= mbone tk82
+PORTREVISION= 1
+CATEGORIES= mbone tk84
MASTER_SITES= ftp://ftp.hawaii.edu/paccom/imm-3.5a1/
DISTNAME= imm.source
EXTRACT_SUFX= .tar.Z
@@ -15,10 +16,9 @@
MAINTAINER= fenner at FreeBSD.org
COMMENT= Internet Image(or other data) Multicaster (and receiver)
-LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
-
+USE_TK= yes
+USE_TK_BUILD= yes
WRKSRC= ${WRKDIR}/mnm
-USE_X_PREFIX= yes
.include <bsd.port.pre.mk>
diff --exclude CVS -urN /usr/ports/mbone/imm/files/Makefile.freebsd ./files/Makefile.freebsd
--- /usr/ports/mbone/imm/files/Makefile.freebsd Sun Nov 28 19:31:10 1999
+++ ./files/Makefile.freebsd Sat Mar 17 04:10:01 2007
@@ -1,17 +1,17 @@
# Some versions of make, like SGI's, use the following variable to
# determine which shell to use for executing commands:
SHELL = /bin/sh
-INCLUDE_DIR = -I${PREFIX}/include -I${LOCALBASE}/include/tcl8.2 -I${LOCALBASE}/include/tk8.2
+INCLUDE_DIR = -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/tk8.4 -I${X11BASE}/include
# Libraries to use when linking:
LIBS = -lm
-TKLIBS= -L$(PREFIX)/lib -L${LOCALBASE}/lib -ltk82 -ltcl82 -lX11
+TKLIBS= -L${X11BASE}/lib -L$(PREFIX)/lib -L${LOCALBASE}/lib -ltk84 -ltcl84 -lX11
TARGET = ../freebsd
CFLAGS = -g -DSIG_T=void -DMULTICAST -I. -DERROR_TEST
-CC = gcc
+CC ?= gcc
CC_SWITCHES = ${CFLAGS}
ROBJS = protocol.o utils.o
diff --exclude CVS -urN /usr/ports/mbone/imm/files/patch-src::tkAppInit.c ./files/patch-src::tkAppInit.c
--- /usr/ports/mbone/imm/files/patch-src::tkAppInit.c Thu Jan 1 01:00:00 1970
+++ ./files/patch-src::tkAppInit.c Sat Mar 17 02:59:37 2007
@@ -0,0 +1,12 @@
+--- src/tkAppInit.c.orig Thu Mar 15 10:00:05 2007
++++ src/tkAppInit.c Thu Mar 15 10:00:12 2007
+@@ -97,9 +97,6 @@
+ * Sun shared libraries to be used for Tcl.
+ */
+
+-extern int matherr();
+-void GetDspStatus();
+-int *tclDummyMathPtr = (int *) matherr;
+
+ /***************************************************************************/
+ /* fork and initiate server process */
--- patch-imm ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list