aboutsummaryrefslogtreecommitdiffstats
path: root/mbone
diff options
context:
space:
mode:
Diffstat (limited to 'mbone')
-rw-r--r--mbone/imm/Makefile8
-rw-r--r--mbone/imm/files/Makefile.freebsd6
-rw-r--r--mbone/imm/files/patch-src-tkAppInit.c12
3 files changed, 18 insertions, 8 deletions
diff --git a/mbone/imm/Makefile b/mbone/imm/Makefile
index dd5ebaddfb5..6d5e44e6970 100644
--- a/mbone/imm/Makefile
+++ b/mbone/imm/Makefile
@@ -7,8 +7,8 @@
PORTNAME= imm
PORTVERSION= 3.5a1
-PORTREVISION= 1
-CATEGORIES= mbone tk82
+PORTREVISION= 2
+CATEGORIES= mbone tk84
MASTER_SITES= ftp://ftp.hawaii.edu/paccom/imm-3.5a1/
DISTNAME= imm.source
EXTRACT_SUFX= .tar.Z
@@ -16,10 +16,8 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= fenner@FreeBSD.org
COMMENT= Internet Image(or other data) Multicaster (and receiver)
-LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
-
+USE_TK= yes
WRKSRC= ${WRKDIR}/mnm
-USE_X_PREFIX= yes
.include <bsd.port.pre.mk>
diff --git a/mbone/imm/files/Makefile.freebsd b/mbone/imm/files/Makefile.freebsd
index ae7ce6434e6..948ca8f5409 100644
--- a/mbone/imm/files/Makefile.freebsd
+++ b/mbone/imm/files/Makefile.freebsd
@@ -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 --git a/mbone/imm/files/patch-src-tkAppInit.c b/mbone/imm/files/patch-src-tkAppInit.c
new file mode 100644
index 00000000000..8dacd5fa95a
--- /dev/null
+++ b/mbone/imm/files/patch-src-tkAppInit.c
@@ -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 */