aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-08-18 06:57:15 +0800
committerobrien <obrien@FreeBSD.org>2003-08-18 06:57:15 +0800
commit931a0738241c1c35cf17f16cbe7e7a0cea74ff18 (patch)
treecc5f93283c78d13927cc1dc127e9d1aa7268196a /vietnamese
parent5263d3ddcfcf60f6d25699c9f8bf896544cec5fd (diff)
downloadfreebsd-ports-gnome-931a0738241c1c35cf17f16cbe7e7a0cea74ff18.tar.gz
freebsd-ports-gnome-931a0738241c1c35cf17f16cbe7e7a0cea74ff18.tar.zst
freebsd-ports-gnome-931a0738241c1c35cf17f16cbe7e7a0cea74ff18.zip
Remove the _POSIX_SOURCE handling to fix the building on 5-CURRENT.
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) \