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@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 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 */