summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chinese/hanzim/Makefile7
-rw-r--r--chinese/hanzim/files/patch-Makefile4
2 files changed, 6 insertions, 5 deletions
diff --git a/chinese/hanzim/Makefile b/chinese/hanzim/Makefile
index adc8a1c..34daa4a 100644
--- a/chinese/hanzim/Makefile
+++ b/chinese/hanzim/Makefile
@@ -8,7 +8,8 @@
PORTNAME= hanzim
PORTVERSION= 1.3
-CATEGORIES= chinese tk83
+PORTREVISION= 1
+CATEGORIES= chinese tk84
MASTER_SITES= ftp://kommos.ucsd.edu/pub/arobert/Chinese/%SUBDIR%/
MASTER_SITE_SUBDIR= . Old
EXTRACT_SUFX= .tgz
@@ -16,8 +17,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A Chinese character learning-aid program
-BUILD_DEPENDS+= wish8.3:${PORTSDIR}/x11-toolkits/tk83
-RUN_DEPENDS+= wish8.3:${PORTSDIR}/x11-toolkits/tk83
+BUILD_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84
+RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84
WRKSRC= ${WRKDIR}/Hanzim
ALL_TARGET= ${PORTNAME}
diff --git a/chinese/hanzim/files/patch-Makefile b/chinese/hanzim/files/patch-Makefile
index b66c91a..8234eae 100644
--- a/chinese/hanzim/files/patch-Makefile
+++ b/chinese/hanzim/files/patch-Makefile
@@ -36,7 +36,7 @@
# you might need to change "libtcl" and "libtk" to "libtcl8.x" and "libtk8.x"
-LIBS = $(LIBXDIR) $(LIBTCLDIR) -ltk -ltcl -lX11 -lm -ldl
-+LIBS = $(LIBXDIR) $(LIBTCLDIR) -ltk83 -ltcl83 -lX11 -lm
++LIBS = $(LIBXDIR) $(LIBTCLDIR) -ltk84 -ltcl84 -lX11 -lm
INSTALL = install
RM = rm -f
@@ -47,7 +47,7 @@
-CC = cc
-DEFINES = -D$(OS) -DLIBDIR=\"$(LIBDIR)\"
-CFLAGS = -O2 $(DEFINES)
-+DEFINES = -D$(OS) -DLIBDIR=\"$(LIBDIR)\" -I${LOCALBASE}/include/tk8.3 -I${LOCALBASE}/include/tcl8.3 -I${X11BASE}/include
++DEFINES = -D$(OS) -DLIBDIR=\"$(LIBDIR)\" -I${LOCALBASE}/include/tk8.4 -I${LOCALBASE}/include/tcl8.4 -I${X11BASE}/include
+CFLAGS += $(DEFINES)
#CFLAGS = -O2 -Wall -pedantic -ansi $(DEFINES)
LFLAGS = $(LIBS) -s
OpenPOWER on IntegriCloud