summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/big5con/Makefile8
-rw-r--r--chinese/cxterm/Makefile4
-rw-r--r--chinese/hztty/Makefile8
-rw-r--r--chinese/pcmanx/Makefile8
4 files changed, 25 insertions, 3 deletions
diff --git a/chinese/big5con/Makefile b/chinese/big5con/Makefile
index c073514..d7520a6 100644
--- a/chinese/big5con/Makefile
+++ b/chinese/big5con/Makefile
@@ -15,6 +15,12 @@ COMMENT= Big5 Chinese console
ONLY_FOR_ARCHS= i386
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/*c
@${REINPLACE_CMD} -e 's,GetShmem(),GetShmem(char),g' ${WRKSRC}/src/fnld.c
@@ -24,4 +30,4 @@ post-patch:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/chinese/cxterm/Makefile b/chinese/cxterm/Makefile
index 71d032b..24430e2 100644
--- a/chinese/cxterm/Makefile
+++ b/chinese/cxterm/Makefile
@@ -47,6 +47,10 @@ MAKE_JOBS_UNSAFE= yes
BROKEN= Coredump during build on ia64
.endif
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/CXterm.sh ${PREFIX}/bin/CXterm
# standard X11 place
diff --git a/chinese/hztty/Makefile b/chinese/hztty/Makefile
index 1f4593d..154ae19 100644
--- a/chinese/hztty/Makefile
+++ b/chinese/hztty/Makefile
@@ -17,8 +17,14 @@ ALL_TARGET= bsd
MAN1= hztty.1
PLIST_FILES= bin/hztty
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hztty ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/hztty.1 ${PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/chinese/pcmanx/Makefile b/chinese/pcmanx/Makefile
index e74e871..b9fd2e4 100644
--- a/chinese/pcmanx/Makefile
+++ b/chinese/pcmanx/Makefile
@@ -25,6 +25,12 @@ USE_LDCONFIG= yes
OPTIONS= WGET "enable wget support for download articles" on
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
+.endif
+
.if !defined(WITHOUT_WGET)
RUN_DEPENDS+= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
CONFIGURE_ARGS+=--enable-wget
@@ -51,4 +57,4 @@ post-extract:
@${REINPLACE_CMD} -e '136 s/, \(.*\)/,1\);/' \
${WRKSRC}/src/view/telnetview.cpp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud