aboutsummaryrefslogtreecommitdiff
path: root/vietnamese/vnterm
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-08-17 22:57:15 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-08-17 22:57:15 +0000
commit8753df7e3113bd8e60ca9535c980f63fee9a4292 (patch)
treea0cf119f7903f03103a0538b7848e4cd96be9193 /vietnamese/vnterm
parent40dd0a642faf89070212ad5e35c49ef420066bdf (diff)
downloadports-8753df7e3113bd8e60ca9535c980f63fee9a4292.tar.gz
ports-8753df7e3113bd8e60ca9535c980f63fee9a4292.zip
Notes
Diffstat (limited to 'vietnamese/vnterm')
-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) \