aboutsummaryrefslogtreecommitdiff
path: root/vietnamese
diff options
context:
space:
mode:
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/vnterm/Makefile6
-rw-r--r--vietnamese/vnterm/files/patch-Imakefile2
2 files changed, 2 insertions, 6 deletions
diff --git a/vietnamese/vnterm/Makefile b/vietnamese/vnterm/Makefile
index a29cd41d67a5..b1d5ad85b86f 100644
--- a/vietnamese/vnterm/Makefile
+++ b/vietnamese/vnterm/Makefile
@@ -15,8 +15,6 @@ DISTNAME= xorg-1
MAINTAINER= obrien@FreeBSD.org
COMMENT= An xterm that speaks Vietnamese
-BROKEN= "Does not compile"
-
USE_IMAKE= yes
.include <bsd.port.pre.mk>
@@ -24,15 +22,13 @@ USE_IMAKE= yes
BUILD_DEPENDS= ${LOCALBASE}/lib/libviqr.a:${PORTSDIR}/vietnamese/libviet
RUN_DEPENDS= ${PREFIX}/lib/X11/fonts/vietnamese/fonts.dir:${PORTSDIR}/vietnamese/vnxfonts
.if ${XFREE86_VERSION} == 4
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+BUILD_DEPENDS+= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif
EXTRACT_AFTER_ARGS= | ${TAR} -xf - xc/programs/xterm
WRKSRC= ${WRKDIR}/xc/programs/xterm
XMKMF= xmkmf
MAN1= vnterm.1
-CFLAGS+= -I${PREFIX}/include/viet
-CFLAGS+= -D_POSIX_SOURCE
post-patch:
@${CP} -p ${FILESDIR}/vnvars.* ${WRKSRC}
diff --git a/vietnamese/vnterm/files/patch-Imakefile b/vietnamese/vnterm/files/patch-Imakefile
index 173d98ba93a1..70336917a6a1 100644
--- a/vietnamese/vnterm/files/patch-Imakefile
+++ b/vietnamese/vnterm/files/patch-Imakefile
@@ -13,7 +13,7 @@
OSMINORVERSION = OSMinorVersion
+ VNLIBDIR = ../lib
-+ VNINCDIR = /usr/local/include/viet
++ VNINCDIR = $(LOCALBASE)/include/viet
+ VNFONTXDIR = ../fonts/X
+
MAIN_DEFINES = -DUTMP $(TTYGROUPDEF) $(PUCCPTYDDEF) \