summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-03-20 13:25:14 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-03-20 13:25:14 +0000
commitc2162ea77a5d01ddb0a8ebbc58039db968448bd0 (patch)
tree19e70e1da33bdd505347cb2ac6335efe528b3662 /chinese
parent- Update to 2010.03.16 (diff)
- Mark BROKEN: fails to build with new utmpx
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=251266
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 c07351449ef8..d7520a6d5707 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 71d032bef544..24430e22a000 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 1f4593da9c07..154ae19e991f 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 e74e8717266c..b9fd2e4d5278 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>